[JS TESTS] Rename JS_TESTS module to main
This commit is contained in:
+2
-2
@@ -11,12 +11,12 @@
|
||||
}
|
||||
|
||||
fun testA() = js("""
|
||||
var a = JS_TESTS.AA;
|
||||
var a = main.AA;
|
||||
return a.foo();
|
||||
""")
|
||||
|
||||
fun testB() = js("""
|
||||
var b = new JS_TESTS.BB();
|
||||
var b = new main.BB();
|
||||
return b.foo();
|
||||
""")
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ object A {
|
||||
}
|
||||
|
||||
fun test() = js("""
|
||||
return JS_TESTS.A.js_f(23);
|
||||
return main.A.js_f(23);
|
||||
""")
|
||||
|
||||
fun box(): String {
|
||||
|
||||
@@ -7,7 +7,7 @@ class A(val x: String) {
|
||||
}
|
||||
|
||||
fun test() = js("""
|
||||
return JS_TESTS.A_int(23).x;
|
||||
return main.A_int(23).x;
|
||||
""")
|
||||
|
||||
fun box(): String {
|
||||
|
||||
Reference in New Issue
Block a user