From 76e7c2b051623d74e08bf1c5bfa0e7656956c22e Mon Sep 17 00:00:00 2001 From: "Oleksandr.Karpovich" Date: Tue, 10 Sep 2024 16:09:41 +0200 Subject: [PATCH] update a test --- .../compose/test/tests/integration/GradlePluginTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/GradlePluginTest.kt b/gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/GradlePluginTest.kt index 458468554ba..37b9c33978c 100644 --- a/gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/GradlePluginTest.kt +++ b/gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/GradlePluginTest.kt @@ -46,6 +46,7 @@ class GradlePluginTest : GradlePluginTestBase() { jsCanvasEnabled(true) gradle(":build").checks { check.taskSuccessful(":unpackSkikoWasmRuntime") + check.taskSuccessful(":processSkikoRuntimeForKWasm") check.taskSuccessful(":compileKotlinJs") check.taskSuccessful(":compileKotlinWasmJs") check.taskSuccessful(":wasmJsBrowserDistribution") @@ -69,6 +70,7 @@ class GradlePluginTest : GradlePluginTestBase() { val distributionFiles = listFiles()!!.map { it.name }.toList() assertTrue(distributionFiles.contains("skiko.wasm")) assertTrue(distributionFiles.contains("skiko.js")) + assertFalse(this.resolve("skiko.js").readText().contains("skiko.js is redundant")) } } }