I added JS target to one library and it is failing...
# kotest
j
I added JS target to one library and it is failing due SyntaxError caused by Kotest
Copy code
@Test
    fun same_version() {
        assertTrue { Version("1.0.0") == Version("1.0.0") } // works
        Version("1.0.0") shouldBe Version("1.0.0") // fails
    }
JS +
@Test
annotation works with Kotest? I have seen samples with the kotest test style in docs, but not sure about the annotation style one
s
annotation spec ?
or is @Test jetbrains
j
@Test is jetbrains
kotlin.test.Test
s
What's the error
j
SyntaxError at D\Repos\Kotlin\semantic versioning kmp\semantic versioning core\commonTest\kotlin\VersionTest.kt10
I am going to try to find the exact issue and I will file it
s
ok great thank you
🙂 1
j
It was my bad, I was messing multiple errors, sorry!
s
ok cool