diff options
Diffstat (limited to 'cli/tests/testdata/compile/workers/not_in_module_map.ts')
-rw-r--r-- | cli/tests/testdata/compile/workers/not_in_module_map.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/tests/testdata/compile/workers/not_in_module_map.ts b/cli/tests/testdata/compile/workers/not_in_module_map.ts deleted file mode 100644 index b43f8cb1f..000000000 --- a/cli/tests/testdata/compile/workers/not_in_module_map.ts +++ /dev/null @@ -1,11 +0,0 @@ -// This time ./worker.ts is not in the module map, so the worker -// initialization will fail unless worker.js is passed as a side module. - -const worker = new Worker( - new URL("./worker.ts", import.meta.url), - { type: "module" }, -); - -setTimeout(() => { - worker.postMessage(42); -}, 500); |