Skip to content

Commit b01981d

Browse files
committed
Update Kotest version and migrate to wasmWasi target
Upgraded Kotest to version 6.0.0.M8 and replaced the `wasmJs` target with the `wasmWasi` target in the build configuration. Adjusted dependencies and source set usage to align with the wasi target requirements.
1 parent 2ab8193 commit b01981d

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

kotest-native/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotest = "6.0.0-LOCAL"
2+
kotest = "6.0.0.M8"
33
kotlin = "2.2.0"
44

55
[libraries]

kotest-wasm/build.gradle.kts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,20 @@ kotlin {
2121
languageVersion = KotlinVersion.KOTLIN_2_2
2222
}
2323

24-
wasmJs {
24+
// wasmJs {
25+
// binaries.executable()
26+
// nodejs()
27+
// }
28+
29+
wasmWasi {
2530
binaries.executable()
2631
nodejs()
2732
}
2833

2934
sourceSets {
30-
wasmJsTest {
35+
wasmWasiTest {
3136
dependencies {
32-
implementation(libs.kotest.assertions.core)
37+
// implementation(libs.kotest.assertions.core)
3338
implementation(libs.kotest.framework.engine)
3439
}
3540
}

0 commit comments

Comments
 (0)