diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-04-19 09:59:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 10:59:51 +0200 |
commit | c30d95f2e36cb3519e1e23c0934b388ebba6bc2c (patch) | |
tree | f34db42cce4803e76affb12ccb95ad59a77354ad /cli/tests/testdata/report_error.ts | |
parent | a64e63c3614b98aa2b51fb6b7ef4e30251e03111 (diff) |
feat(ext/web): add globalThis.reportError() (#13799)
Diffstat (limited to 'cli/tests/testdata/report_error.ts')
-rw-r--r-- | cli/tests/testdata/report_error.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/report_error.ts b/cli/tests/testdata/report_error.ts new file mode 100644 index 000000000..a6d4af1fd --- /dev/null +++ b/cli/tests/testdata/report_error.ts @@ -0,0 +1,3 @@ +console.log(1); +reportError(new Error("foo")); +console.log(2); |