From c30d95f2e36cb3519e1e23c0934b388ebba6bc2c Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 19 Apr 2022 09:59:51 +0100 Subject: feat(ext/web): add globalThis.reportError() (#13799) --- cli/tests/integration/run_tests.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cli/tests/integration') 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", +}); -- cgit v1.2.3