In the above post from Bernhard and in my project ...
# javascript
g
In the above post from Bernhard and in my project (screenshot below) IntelliJ does not recognize the KotlinJS tests. There isn't any green arrow on the left to run the test class and same for the individual tests. Also, when you right click on the tests folder there isn't an option to run all tests. This makes it so the tests have to be run via Gradle. Does anyone know how to get IntelliJ to recognize the KotlinJS tests like it does for JVM tests?
a
You need to enable experimental multiplatform support in IDEA settings
g
Thanks! The green arrows are showing up, but for some reason each test is run twice. This seems to be only in the IDE, when I run the tests from the terminal with gradle it is only run once. Do you know what may be causing it?
image.png
a
Sadly, that's what's happening on my end as well. I know there is a ticket for this on youtrack as well
g
Ok, only a minor issue. Glad there's a ticket for it
b
many thanks!
c
They do not run twice, IntelliJ just displays them twice. https://youtrack.jetbrains.com/issue/KTIJ-27307. It was marked as resolved just last week, so it's probably fixed in the next IDEA version
thank you color 1