Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
subroh0508 committed Sep 1, 2024
1 parent e9780be commit 71e0fa6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ plugins {
val wasmJsBrowserTestReport by tasks.registering(TestReport::class) {
destinationDirectory.set(layout.buildDirectory.file("reports/wasmJsBrowserTest").get().asFile)
subprojects.forEach {
val wasmJsBrowserTest by it.tasks.existing(KotlinJsTest::class)
val task = wasmJsBrowserTest.orNull ?: return@forEach
val wasmJsBrowserTest: KotlinJsTest = it.tasks
.findByName("wasmJsBrowserTest") as? KotlinJsTest
?: return@forEach

testResults.from(task.binaryResultsDirectory)
testResults.from(wasmJsBrowserTest.binaryResultsDirectory)
}
}

Expand Down

0 comments on commit 71e0fa6

Please sign in to comment.