[K/JS] Rework kotlin tests compilation to make it works with per-file granularity ^KT-61525 Fixed

This commit is contained in:
Artem Kobzar
2023-11-16 19:02:04 +00:00
committed by Space Team
parent a4b3b08e59
commit ff50d40b32
48 changed files with 2290 additions and 135 deletions
@@ -0,0 +1,26 @@
// EXPECTED_REACHABLE_NODES: 1698
// KJS_WITH_FULL_RUNTIME
// SKIP_DCE_DRIVEN
// RUN_UNIT_TESTS
// ES_MODULES
// FILE: test.kt
import common.call
import kotlin.test.Test
class Simple {
@Test fun foo() {
call("foo")
}
}
// FILE: box.kt
import common.*
fun box() = checkLog {
suite("Simple") {
test("foo") {
call("foo")
}
}
}