how do you write tests for javascript? Is using mo...
# javascript
r
how do you write tests for javascript? Is using mocha, karma and the like still the right approach or is there no better support already built into intellij? https://github.com/JetBrains/kotlin-examples/tree/master/gradle/js-tests
g
There's no support directly in IntelliJ that I'm aware of. But those examples at that link are pretty straight forward, so it wont be too hard. may take a little investigation in the kotlin.test package but probably not much
r
I have already a setup with mocha which works but it feels a bit experimental rather than well supported, that's why I am asking 🙂