summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/workers/error_event.ts.out
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/workers/error_event.ts.out')
-rw-r--r--cli/tests/testdata/workers/error_event.ts.out13
1 files changed, 13 insertions, 0 deletions
diff --git a/cli/tests/testdata/workers/error_event.ts.out b/cli/tests/testdata/workers/error_event.ts.out
new file mode 100644
index 000000000..9c075e23e
--- /dev/null
+++ b/cli/tests/testdata/workers/error_event.ts.out
@@ -0,0 +1,13 @@
+error: Uncaught (in worker "") Error: foo
+ throw new Error("foo");
+ ^
+ at foo ([WILDCARD]/error.ts:2:9)
+ at [WILDCARD]/error.ts:5:1
+{
+ message: "Uncaught Error: foo",
+ filename: "[WILDCARD]/error.ts",
+ lineno: 2,
+ colno: 9
+}
+error: Uncaught (in promise) Error: Unhandled error in child worker.
+ at [WILDCARD]