CLOVIS
09/29/2025, 5:21 PMwasmJsTestRuntimeClasspath - Runtime classpath of 'wasmJs/test'.
[…]
+--- de.infix.testBalloon:testBalloon-framework-core:0.3.3-K2.2.0
| \--- de.infix.testBalloon:testBalloon-framework-core-wasm-js:0.3.3-K2.2.0
| +--- de.infix.testBalloon:testBalloon-framework-abstractions:0.3.3-K2.2.0
| | \--- de.infix.testBalloon:testBalloon-framework-abstractions-wasm-js:0.3.3-K2.2.0
| | \--- org.jetbrains.kotlin:kotlin-stdlib:2.2.0 -> 2.2.20 (*)
| \--- org.jetbrains.kotlin:kotlin-test:2.2.0 (c)
However, the compiler doesn't support running with different versions of KGP and Kotlin-test:
> Task :gradle:templates:template-lib:compileTestDevelopmentExecutableKotlinJs FAILED
e: The Kotlin/JS kotlin-test library has an older version (2.2.0-release-294) than the compiler (2.2.20). Such a configuration is not supported.
Please, make sure that the kotlin-test library has the version in the range [2.2.20 .. 2.2.255]. Adjust your project's settings if necessary.
Could you declare the dependency on the TestBalloon side to avoid this?Oliver.O
09/29/2025, 5:25 PMWasm/JS: Fix "Identifier 'startUnitTests' has already been declared"
Probable cause: Fix for https://youtrack.jetbrains.com/issue/KT-76161,
Kotlin commit 64b3eae2b6b17fd1a83993bcc93af86625036a60,
available in Kotlin >= 2.2.0-Beta2, >= 2.1.21-RC
Apparently, including the kotlin-test for Wasm/JS is no longer needed.
In some configurations, the presence of kotlin-test triggers the
above error in 'wasmJsNodeTest' and 'wasmJsBrowserTest' tasks.