Hi All, I'm trying to use Mockk on a library betw...
# mockk
s
Hi All, I'm trying to use Mockk on a library between Android and JS. Does anyone have any samples? I keep getting compile time failures in my build for the JS target.
Task :common:compileTestKotlinJs FAILED
Unresolved reference: mockk
Copy code
sourceSets["commonTest"].dependencies {
    implementation(KotlinTest.common)
    implementation(Coroutines.test)
    implementation(KotlinTest.annotations)
    implementation(KotlinTest.mockkDsl)
    implementation(KotlinTest.mockk)
}

//Where KotlinTest.mockkDsl and KotlinTest.mockk are the following
    val mockk =       "io.mockk:mockk-common:${Versions.mockk}" //1.10.0
    val mockkDsl =    "io.mockk:mockk-dsl:${Versions.mockk}" //1.10.0