Hi all, Is there any specific configuration requi...
# multiplatform
a
Hi all, Is there any specific configuration required to run js test when we use IR backend. Before using IR backend for js target my js test were running but after switching to IR non of the js test are running. Here is my build gradle file: https://github.com/ashishkujoy/kotlin-js-jvm-library/blob/main/build.gradle.kts Thanks
j
Are you running them via CLI?
a
yes
gradle clean build
was earlier running jsTest as part of build.
j
And js tests are not being called? it is strange, I added the new IR in gradle.properties, and I think I can see a few tests where js is mentioned
a
It was running
Task :jsNodeTest
but now there is no jsNodeTest task
Yes they are not getting called. It tried to throw an exception from test. Without IR backend build is failing because of test and with IR backend build is passing(as test are not getting executed).
j
Yeah, I am only seeing
jsIrTest
try that,
jsIrNodeTest
a
I cannot see any jsIrNodeTest
These are the task for my project
j
my config is:
a
It looks like an issue with Kotest framework. I switched to kotlin.test and test are now running. Looks like Kotest is unable to discover test for js with IR backend
Will try to confirm it on Kotest channel once