From 56dc7ac9c5bc86f57a742f3fe9815d963e8f2c43 Mon Sep 17 00:00:00 2001 From: Ilya Goncharov Date: Wed, 25 Sep 2024 14:16:16 +0200 Subject: [PATCH] [Wasm] Fix location of static content in wasm node test --- .../kotlin/gradle/targets/js/testing/KotlinWasmNode.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/KotlinWasmNode.kt b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/KotlinWasmNode.kt index c3c000061cc3a..3c1a22f74266b 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/KotlinWasmNode.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/KotlinWasmNode.kt @@ -43,7 +43,7 @@ internal class KotlinWasmNode(kotlinJsTest: KotlinJsTest) : KotlinJsTestFramewor nodeJsArgs: MutableList, debug: Boolean, ): TCServiceMessagesTestExecutionSpec { - val testRunnerFile = writeWasmUnitTestRunner(workingDir.get().asFile.parentFile, task.inputFileProperty.get().asFile) + val testRunnerFile = writeWasmUnitTestRunner(workingDir.get().asFile, task.inputFileProperty.get().asFile) val clientSettings = TCServiceMessagesClientSettings( task.name,