summaryrefslogtreecommitdiff
path: root/cli/tests/integration/run_tests.rs
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/integration/run_tests.rs
parenta64e63c3614b98aa2b51fb6b7ef4e30251e03111 (diff)
feat(ext/web): add globalThis.reportError() (#13799)
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r--cli/tests/integration/run_tests.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs
index b99ab2890..85363a27f 100644
--- a/cli/tests/integration/run_tests.rs
+++ b/cli/tests/integration/run_tests.rs
@@ -2753,3 +2753,14 @@ fn deno_no_prompt_environment_variable() {
.unwrap();
assert!(output.status.success());
}
+
+itest!(report_error {
+ args: "run --quiet report_error.ts",
+ output: "report_error.ts.out",
+ exit_code: 1,
+});
+
+itest!(report_error_handled {
+ args: "run --quiet report_error_handled.ts",
+ output: "report_error_handled.ts.out",
+});