Hey! TestBalloon has a runtime dependency on Kotli...
# testballoon
c
Hey! TestBalloon has a runtime dependency on Kotlin-test:
Copy code
wasmJsTestRuntimeClasspath - 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:
Copy code
> 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?
o
That will change with the upcoming release. The kotlin-test dependency is not used by TestBalloon, but was required for Wasm/JS. This has changed. The relevant commit (not pushed yet):
Wasm/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.
🙏 2
🚀 2