summaryrefslogtreecommitdiff
path: root/cli/tests/074_worker_nested_error.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-10-20 05:05:42 +0100
committerGitHub <noreply@github.com>2020-10-20 15:05:42 +1100
commit7aba07cc7711adfa774afd8e77695f386127c4bc (patch)
tree3325f296ed175cf61b845fa0673e8356f84913b1 /cli/tests/074_worker_nested_error.ts
parent57e95032c898cfdfe795e6924d402fdbe2ae59a8 (diff)
fix(cli/worker): Print error stacks from the origin Worker (#7987)
Fixes #4728
Diffstat (limited to 'cli/tests/074_worker_nested_error.ts')
-rw-r--r--cli/tests/074_worker_nested_error.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/074_worker_nested_error.ts b/cli/tests/074_worker_nested_error.ts
new file mode 100644
index 000000000..975d897ca
--- /dev/null
+++ b/cli/tests/074_worker_nested_error.ts
@@ -0,0 +1,5 @@
+const worker = new Worker(
+ new URL("073_worker_error.ts", import.meta.url).href,
+ { type: "module", name: "baz" },
+);
+setTimeout(() => worker.terminate(), 30000);