Skip to content

Mill seems to attempt to run scala JS code on JVM? #5094

Answered by lolgab
Quafadas asked this question in Q&A
Discussion options

You must be logged in to vote

It seems that your test module doesn't extend TestScalaJSModule, which overrides the testTask task to use the Scala.js test runner.
When a test module is a inner module of a ScalaJSModule you usually extend ScalaJSTests, but here your module is not inside another ScalaJSModule, so you need to extend TestScalaJSModule

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Quafadas
Comment options

Answer selected by Quafadas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants