I have a problem with js tests. They don't seem to...
# kotest
i
I have a problem with js tests. They don't seem to work and I can't figure what's wrong with my setup. Kotest version is 4.6.2. When I replace my dependencies in commonMain with snapshot dependencies in commonMain from https://github.com/kotest/kotest-examples-multiplatform and add plugin it works fine. But I didn't find any docs about multiplatform plugin for 4.6.2. Am I missing something? I'll attach some info in thread
Copy code
class SomeTest : FunSpec({
    test("Want this to fail") {
        "".shouldBeNull()
    }
})
s
IR support is 5.0 only which is in prerelease
i
Did I missed this info in docs or it is just not there?
s
The docs on JS are for the legacy js compiler
Which are you using
5.0 will be released as soon as kotlin 1.6 is released
i
With legacy it works, thank you. Probably it would be helpful to have this information here under Kotlin/JS tab https://kotest.io/docs/quickstart#test-framework
s
Yes. Please raise a pr if you have time
i
s
thanks