quiro
01/30/2024, 8:35 AMcommonTest
and some in jsTest
, but when I run ./gradlew check
only the JVM tests are run. In the IDE I can't even see the run icon next to my JS tests. I've added this block to my `build.gradle.kts`:
nodejs {
testTask {
useMocha()
}
}
and this line
val jsTest by getting
to the sourcesets block, but when I run ./gradlew jsNodeTest
no test is run and I can see the test task was skipped:
:lib:jsNodeTest SKIPPED
Artem Kobzar
01/30/2024, 10:26 AMquiro
01/30/2024, 10:42 AMEdoardo Luppi
01/30/2024, 8:25 PMIn the IDE I can't even see the run icon next to my JS testsSettings > Advanced Settings > Enable experimental Multiplatform IDE features
Edoardo Luppi
01/30/2024, 8:27 PM./gradlew jsNodeTest
no test is run and I can see the test task was skipped
Are you in 1.9.22? That's strange.
> val jsTest by getting
Minor detail, you don't need the getting
accessor anymore, use
jsTest {
...
}
Or, don't specify it at all if you don't need to specify dependencies, or other settings.quiro
01/30/2024, 9:55 PMSettings > Advanced Settings > Enable experimental Multiplatform IDE featuresThis fixes the visibility of the run icon in the IDE, thanks!
Are you in 1.9.22? That's strange.1.9.21, will upgrade tomorrow and double check it
Minor detail, you don't need theah nice!accessor anymoregetting
quiro
05/15/2024, 11:06 AM