summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/report_error_handled.ts.out
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-04-19 09:59:51 +0100
committerGitHub <noreply@github.com>2022-04-19 10:59:51 +0200
commitc30d95f2e36cb3519e1e23c0934b388ebba6bc2c (patch)
treef34db42cce4803e76affb12ccb95ad59a77354ad /cli/tests/testdata/report_error_handled.ts.out
parenta64e63c3614b98aa2b51fb6b7ef4e30251e03111 (diff)
feat(ext/web): add globalThis.reportError() (#13799)
Diffstat (limited to 'cli/tests/testdata/report_error_handled.ts.out')
-rw-r--r--cli/tests/testdata/report_error_handled.ts.out13
1 files changed, 13 insertions, 0 deletions
diff --git a/cli/tests/testdata/report_error_handled.ts.out b/cli/tests/testdata/report_error_handled.ts.out
new file mode 100644
index 000000000..89fa30314
--- /dev/null
+++ b/cli/tests/testdata/report_error_handled.ts.out
@@ -0,0 +1,13 @@
+1
+{
+ cancelable: true,
+ message: "Uncaught Error: foo",
+ filename: "[WILDCARD]/report_error_handled.ts",
+ lineno: 18,
+ colno: 13,
+ error: Error: foo
+ at [WILDCARD]/report_error_handled.ts:18:13
+}
+onerror() called Error: foo
+ at [WILDCARD]/report_error_handled.ts:18:13
+2