[K/JS] Rework kotlin tests compilation to make it works with per-file granularity ^KT-61525 Fixed
This commit is contained in:
@@ -15,6 +15,7 @@ fun Test.useJsIrBoxTests(
|
||||
setupV8()
|
||||
dependsOn(":kotlin-stdlib:jsJar")
|
||||
dependsOn(":kotlin-stdlib:jsJarForTests") // TODO: think how to remove dependency on the artifact in this place
|
||||
dependsOn(":kotlin-test:kotlin-test-js-ir:jsJar")
|
||||
dependsOn(":kotlin-test:kotlin-test-js-ir:compileKotlinJs")
|
||||
dependsOn(":kotlin-stdlib-js-ir-minimal-for-test:compileKotlinJs")
|
||||
dependsOn(":kotlin-dom-api-compat:compileKotlinJs")
|
||||
@@ -24,5 +25,6 @@ fun Test.useJsIrBoxTests(
|
||||
systemProperty("kotlin.js.reduced.stdlib.path", reducedStdlibPath)
|
||||
systemProperty("kotlin.js.kotlin.test.path", kotlinJsTestPath)
|
||||
systemProperty("kotlin.js.stdlib.klib.path", "libraries/stdlib/build/libs/kotlin-stdlib-js-$version.klib")
|
||||
systemProperty("kotlin.js.kotlin.test.klib.path", "libraries/kotlin.test/js-ir/build/libs/kotlin-test-js-$version.klib")
|
||||
systemProperty("kotlin.js.dom.api.compat", domApiCompatPath)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user