Is junit5 compatible with a KMP library which has ...
# multiplatform
j
Is junit5 compatible with a KMP library which has a JS target?
In general, which targets are compatible with JUnit 5?
h
How do you use it?
Copy code
sourceSets {
  commonTest { 
    dependencies {
      implementation(kotlin("test"))
    }
  }
  val jvmTest by getting {
    dependencies {
      implementation(kotlin("test-junit5"))
    }
  }
}
j
I was adding it in common, but looks like it is only necessary to be used in jvm