Skip to content

Commit e767891

Browse files
committed
Execute wasm tests on linux runners
1 parent 3b7e22c commit e767891

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

json-schema-validator/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ kotlin {
149149
nodejs()
150150
}
151151
wasmJs {
152+
// The wasmJsBrowserTest prints all executed tests as one unformatted string
153+
// Have not found a way to suppress printing all this into console
152154
browser()
153155
nodejs()
154156
}
@@ -193,8 +195,7 @@ kotlin {
193195
}
194196
}
195197

196-
val wasmJsMain by getting {
197-
}
198+
val wasmJsMain by getting
198199

199200
val nonWasmJsMain by creating {
200201
dependsOn(commonMain)
@@ -282,6 +283,7 @@ kotlin {
282283
dependsOnTargetTests(linuxTargets)
283284
dependsOn(tasks.getByName("jvmTest"))
284285
dependsOn(tasks.getByName("jsTest"))
286+
dependsOn(tasks.getByName("wasmJsTest"))
285287
}
286288
}
287289
}

0 commit comments

Comments
 (0)