Has anyone been able to run Unit Tests with the frontend plugin?
https://github.com/eiswind/multiplatform-react-webflux-kotlin-example
I fail…![]()
Has anyone been able to run Unit Tests with the frontend plugin?
https://github.com/eiswind/multiplatform-react-webflux-kotlin-example
I fail…![]()
Location of transpiled tests did the trick:
compileTestKotlin2Js {
kotlinOptions.metaInfo = true
kotlinOptions.outputFile = "$project.buildDir.path/js-tests/${project.name}-tests.js"
kotlinOptions.sourceMap = true
kotlinOptions.moduleKind = 'commonjs'
kotlinOptions.main = "call"
}