Edoardo Luppi
09/10/2025, 2:24 PM--tests work?Vampire
09/10/2025, 2:29 PMVampire
09/10/2025, 2:30 PMEdoardo Luppi
09/10/2025, 2:37 PMjsNodeTest with whatever parameter doesn't seem to filter anything.Vampire
09/10/2025, 2:40 PMVampire
09/10/2025, 2:41 PMVampire
09/10/2025, 2:42 PMEdoardo Luppi
09/10/2025, 2:43 PMjsTest or jsNodeTest with a filter in the entire internet 🥲
And about that question: I really don't know. Probably they didn't want to split Node.js and browser implementations?
Node is able to read env vars.Edoardo Luppi
09/10/2025, 2:44 PMVampire
09/10/2025, 2:46 PMEdoardo Luppi
09/10/2025, 2:47 PMEdoardo Luppi
09/10/2025, 2:47 PMMike Kienenberger
09/18/2025, 4:27 PMval excludeApplicationTests = project.findProperty("excludeApplicationTests") == "true"
val excludeMySpecificTests = project.findProperty("excludeMySpecificTests") == "true"
compilations["test"].defaultSourceSet {
if(excludeApplicationTests) {
println("Excluding application tests from jsNodeTest")
kotlin.exclude("com/example/config/LoadAppConfigUnitTest.kt")
kotlin.exclude("com/example/error/ErrorContainerViewTest.kt")
kotlin.exclude("com/example/http/FetchFromWebServiceUnitTest.kt")
}
if(excludeMySpecificTests) {
println("Excluding mySpecific tests from jsNodeTest")
kotlin.exclude("com/example/mySpecific/**/*Test.kt")
}
}