I have the impression that, using gradle, kotlinOp...
# javascript
g
I have the impression that, using gradle, kotlinOptions.modulekind does not apply to tests. Is that possible? Is there a reason?
b
It should work, but note it should be configured explicitly, like:
Copy code
compileTestKotlin2Js {
    kotlinOptions.moduleKind = "commonjs"
}
Also, you can configure many tasks
Copy code
[compileKotlin2Js, compileTestKotlin2Js]*.configure {
    kotlinOptions.moduleKind = "commonjs"
}
@gaetan does it work for you?
g
Thanks @bashor. It’s working. I didn’t get the option.
b
👍
g
I’m trying to isolate a regression that appears since 1.1.3.
This code is working with 1.1.2 but not in 1.1.3. It seems that a js function is missing. Is it a bug you know? https://try.kotlinlang.org/#/UserProjects/iehc94g735ikouneqehn97mndv/8tl2elh05gkkg0fqvrpq67nrsq