Any reason why it still won't compile? I added the...
# coroutines
o
Any reason why it still won't compile? I added the coroutines test library as a dependency in my KMP project:
Copy code
val jvmTest by getting {
    dependencies {
        implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-test:1.5.2")
    }
}
j
common code?
it is not available in common
o
oh
So, how is one supposed to write common test coroutines code ?
without runBlockingTest
creating your expect actual using runBlocking under the hood except in JS targets
o
Ok, I see that's what cashapp/turbine also did
hmm, I put my test code in the jvmTest directory, runBlocking is available now, but it still says runBlockingTest is an unresolved reference
j
core-test -> test
o
that's it, thanks
Decided to use your library, why is it still in alpha though? Is it because of some unstable targets?
j
No, it could be stable but I am waiting until kmp becomes stable
Maybe I can just create a new version when coroutines 1.5.2 mt is available with the new targets