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