mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 13:44:47 +00:00
feat(ext/web): add globalThis.reportError() (#13799)
This commit is contained in:
parent
a64e63c361
commit
c30d95f2e3
10 changed files with 93 additions and 17 deletions
|
@ -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",
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue