I’ve got a <small project> with the Kotlin 1.9.22 ...
# javascript
c
I’ve got a small project with the Kotlin 1.9.22 multiplatform plugin applied, although the only target is nodejs. When I run my tests, they run correctly but the console prints out:
0 passing (0ms)
Is there something else that needs to be configured?
a
Hey, do you use ES-modules?
c
That’s a loaded question. I’m not explicitly setting
useEsModules()
in my gradle script. However there is an entrypoint script in my application to enable Cloudflare to run the application with es modules workers.
The Kotlin answer to your question is no. The Cloudflare answer to your question is yes.
a
Could you please explicitly set
useCommonJs
in your build script and check that the tests are runing?
And if they do, please create a YouTrack issue and I will try to land the fix into the next release
c
If I set
useCommonJs()
it doesn’t make a difference,
a
Thank you. I'll take a look