Kenneth Andersson
10/22/2019, 4:16 PMbashor
10/22/2019, 5:46 PMbashor
10/22/2019, 5:55 PMoutputFile = "$project.buildDir.path/js/${project.name}.js"
https://github.com/jayway/kotlin-multiplatform-js-tests-debug/blob/master/common/build.gradle#L13bashor
10/22/2019, 5:56 PMKenneth Andersson
10/23/2019, 8:00 AMIlya Goncharov [JB]
10/23/2019, 8:29 AMkotlin/name.js
It is not ideal beahviour, that’s true, for example for jsBrowserTest
we get file as entry point with other strategy, does it work for you?
As for changing name, there is issue, that you can find useful
https://youtrack.jetbrains.com/issue/KT-34252
And of course feel free to submit issues with your own problem and describe your use case
As WA I can recommend you watch on configuring Karma (test runner for browser testing), you can create karma.config.d
folder in your module
And add plain js file to this folder, where you can configure karma as you want, it is a bit unsafe, but absolutely flexible
You can add something like
const path = require("path")
config.set({
files: [path.resolve(__dirname, <path-to-your-file-relative-to-'build/js/packages/package-name-test'>)]
})
Basically it can help you, but if you will any problems, please let me knowKenneth Andersson
10/23/2019, 9:29 AMKenneth Andersson
10/23/2019, 9:29 AM