Skip to content

Commit b857144

Browse files
committed
Enable JS target in build.gradle.kts
1 parent f3487a1 commit b857144

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

kotest-multiplatform/build.gradle.kts

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ kotlin {
1717
}
1818

1919
jvm()
20-
// js {
21-
// browser()
22-
// nodejs()
23-
// }
20+
js {
21+
browser()
22+
nodejs()
23+
}
2424

2525
@OptIn(ExperimentalWasmDsl::class)
2626
wasmJs {
@@ -66,7 +66,6 @@ kotlin {
6666
androidNativeArm64()
6767

6868
sourceSets {
69-
7069
commonTest {
7170
dependencies {
7271
implementation(libs.kotest.framework.engine)
@@ -75,3 +74,11 @@ kotlin {
7574
}
7675
}
7776
}
77+
78+
tasks.named<Test>("test") {
79+
useJUnitPlatform()
80+
filter {
81+
isFailOnNoMatchingTests = false
82+
}
83+
}
84+

0 commit comments

Comments
 (0)