According to the setup docs (<https://kotlinlang.o...
# javascript
d
According to the setup docs (https://kotlinlang.org/docs/js-project-setup.html#test-task), browser projects use Karma and node projects use Mocha for tests, but if you manually configure your testTask you can tell it to use Mocha for browser projects as well since they all share the same
KotlinJsTest
DSL. Does this actually run the Mocha tests in the browser? Or does it just try to run the browser code in Node? The docs aren't clear on this. e.g. right now you can do this, and it's not clear what actually happens
Copy code
browser {
   testTask {
     useMocha()
   }
}