summaryrefslogtreecommitdiff
path: root/cli/tests/073_worker_error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/073_worker_error.ts')
-rw-r--r--cli/tests/073_worker_error.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/073_worker_error.ts b/cli/tests/073_worker_error.ts
new file mode 100644
index 000000000..736c4fde6
--- /dev/null
+++ b/cli/tests/073_worker_error.ts
@@ -0,0 +1,5 @@
+const worker = new Worker(
+ new URL("subdir/worker_error.ts", import.meta.url).href,
+ { type: "module", name: "bar" },
+);
+setTimeout(() => worker.terminate(), 30000);