[JS TESTS] Rename JS_TESTS module to main
This commit is contained in:
+1
-1
@@ -30,6 +30,6 @@ fun testOk(ok: Any): String {
|
||||
|
||||
// FILE: entry.mjs
|
||||
// ENTRY_ES_MODULE
|
||||
import { convolutedOk, testOk } from "./JS_TESTS/index.js";
|
||||
import { convolutedOk, testOk } from "./main/index.js";
|
||||
|
||||
console.assert(testOk(convolutedOk()) == "OK");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Point } from "./JS_TESTS/index.js";
|
||||
import { Point } from "./main/index.js";
|
||||
|
||||
export default function() {
|
||||
var p = new Point(3, 7);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as api from "./JS_TESTS/index.js";
|
||||
import * as api from "./main/index.js";
|
||||
|
||||
export default function() {
|
||||
var ping = api.ping;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { A, B } from "./JS_TESTS/index.js";
|
||||
import { A, B } from "./main/index.js";
|
||||
|
||||
export default function() {
|
||||
return {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ping, Something } from "./JS_TESTS/index.js"
|
||||
import { ping, Something } from "./main/index.js"
|
||||
|
||||
export default function() {
|
||||
return {
|
||||
|
||||
@@ -24,7 +24,7 @@ open class B {
|
||||
// FILE: entry.mjs
|
||||
// ENTRY_ES_MODULE
|
||||
|
||||
import { A, B } from "./JS_TESTS/index.js";
|
||||
import { A, B } from "./main/index.js";
|
||||
|
||||
function createA() {
|
||||
function ADerived() {
|
||||
|
||||
Reference in New Issue
Block a user