diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-04-16 15:13:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-16 15:13:42 -0400 |
commit | 1bfb44336914a775cd01120165517394d30aec23 (patch) | |
tree | 2f126b5f36ad8fe2ddd9cae118058affd413c68d /tests | |
parent | 0c463582206881b6461742633a67f51632db614e (diff) |
Implement async module loading in CLI (#2084)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/026_workers.ts | 4 | ||||
-rw-r--r-- | tests/circular1.js | 2 | ||||
-rw-r--r-- | tests/circular2.js | 2 | ||||
-rw-r--r-- | tests/error_009_missing_js_module.disabled (renamed from tests/error_009_missing_js_module.test) | 0 | ||||
-rw-r--r-- | tests/error_010_nonexistent_arg.disabled (renamed from tests/error_010_nonexistent_arg.test) | 0 | ||||
-rw-r--r-- | tests/import_meta.ts | 2 |
6 files changed, 5 insertions, 5 deletions
diff --git a/tests/026_workers.ts b/tests/026_workers.ts index 0cf8f53b1..a7deee217 100644 --- a/tests/026_workers.ts +++ b/tests/026_workers.ts @@ -1,5 +1,5 @@ -const jsWorker = new Worker("tests/subdir/test_worker.js"); -const tsWorker = new Worker("tests/subdir/test_worker.ts"); +const jsWorker = new Worker("./tests/subdir/test_worker.js"); +const tsWorker = new Worker("./tests/subdir/test_worker.ts"); tsWorker.onmessage = e => { console.log("Received ts: " + e.data); diff --git a/tests/circular1.js b/tests/circular1.js index b166f7e5d..8b2cc4960 100644 --- a/tests/circular1.js +++ b/tests/circular1.js @@ -1,2 +1,2 @@ -import "circular2.js"; +import "./circular2.js"; console.log("circular1"); diff --git a/tests/circular2.js b/tests/circular2.js index 3d3136a0d..62127e04d 100644 --- a/tests/circular2.js +++ b/tests/circular2.js @@ -1,2 +1,2 @@ -import "circular1.js"; +import "./circular1.js"; console.log("circular2"); diff --git a/tests/error_009_missing_js_module.test b/tests/error_009_missing_js_module.disabled index b16bb232b..b16bb232b 100644 --- a/tests/error_009_missing_js_module.test +++ b/tests/error_009_missing_js_module.disabled diff --git a/tests/error_010_nonexistent_arg.test b/tests/error_010_nonexistent_arg.disabled index 9d183107c..9d183107c 100644 --- a/tests/error_010_nonexistent_arg.test +++ b/tests/error_010_nonexistent_arg.disabled diff --git a/tests/import_meta.ts b/tests/import_meta.ts index 2f3bec9ed..d111059ea 100644 --- a/tests/import_meta.ts +++ b/tests/import_meta.ts @@ -1,3 +1,3 @@ console.log("import_meta", import.meta.url, import.meta.main); -import "import_meta2.ts"; +import "./import_meta2.ts"; |