From 2c7240f375d3461e45c497f17dcc3ace97b50b56 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 10 Apr 2023 23:17:02 +0200 Subject: [PATCH] Fixed test setup --- EpcQrCode/build.gradle.kts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/EpcQrCode/build.gradle.kts b/EpcQrCode/build.gradle.kts index 676086a..eea9b83 100644 --- a/EpcQrCode/build.gradle.kts +++ b/EpcQrCode/build.gradle.kts @@ -25,10 +25,9 @@ kotlin { js(IR) { browser { testTask { - this.isEnabled = false - useKarma { useChromeHeadless() + useFirefoxHeadless() webpackConfig.cssSupport.enabled = true } } @@ -58,8 +57,7 @@ kotlin { } val commonTest by getting { dependencies { - implementation(kotlin("test-common")) - implementation(kotlin("test-annotations-common")) + implementation(kotlin("test")) } } @@ -70,7 +68,7 @@ kotlin { } val jvmTest by getting { dependencies { - implementation(kotlin("test-junit")) + } } @@ -78,11 +76,7 @@ kotlin { val iosTest by getting val jsMain by getting - val jsTest by getting { - dependencies { - implementation(kotlin("test-js")) - } - } + val jsTest by getting val nativeMain by getting