kotlinx-coroutines-test/build.gradle.kts (20 lines of code) (raw):
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
kotlin {
sourceSets {
jvmTest {
dependencies {
implementation(project(":kotlinx-coroutines-debug"))
}
}
}
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
nodejs {
testTask {
filter.apply {
// https://youtrack.jetbrains.com/issue/KT-61888
excludeTest("TestDispatchersTest", "testMainMocking")
}
}
}
}
}