Fixed test setup
This commit is contained in:
parent
be296eaad9
commit
2c7240f375
|
@ -25,10 +25,9 @@ kotlin {
|
||||||
js(IR) {
|
js(IR) {
|
||||||
browser {
|
browser {
|
||||||
testTask {
|
testTask {
|
||||||
this.isEnabled = false
|
|
||||||
|
|
||||||
useKarma {
|
useKarma {
|
||||||
useChromeHeadless()
|
useChromeHeadless()
|
||||||
|
useFirefoxHeadless()
|
||||||
webpackConfig.cssSupport.enabled = true
|
webpackConfig.cssSupport.enabled = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,8 +57,7 @@ kotlin {
|
||||||
}
|
}
|
||||||
val commonTest by getting {
|
val commonTest by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(kotlin("test-common"))
|
implementation(kotlin("test"))
|
||||||
implementation(kotlin("test-annotations-common"))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +68,7 @@ kotlin {
|
||||||
}
|
}
|
||||||
val jvmTest by getting {
|
val jvmTest by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(kotlin("test-junit"))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,11 +76,7 @@ kotlin {
|
||||||
val iosTest by getting
|
val iosTest by getting
|
||||||
|
|
||||||
val jsMain by getting
|
val jsMain by getting
|
||||||
val jsTest by getting {
|
val jsTest by getting
|
||||||
dependencies {
|
|
||||||
implementation(kotlin("test-js"))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
val nativeMain by getting
|
val nativeMain by getting
|
||||||
|
|
Loading…
Reference in New Issue