fix(op_crates/web): Use "deno:" URLs for internal script specifiers (#7383)

This commit is contained in:
Nayeem Rahman 2020-09-09 13:23:57 +01:00 committed by GitHub
parent c14436a424
commit b17a5fbcfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 73 additions and 29 deletions

View file

@ -0,0 +1,2 @@
// Missing arg.
new Event();

View file

@ -0,0 +1,3 @@
[WILDCARD]error: Uncaught TypeError: Event requires at least 1 argument, but only 0 present[WILDCARD]
at new Event (deno:op_crates/web/[WILDCARD])
at [WILDCARD]

View file

@ -1811,6 +1811,12 @@ itest!(error_008_checkjs {
output: "error_008_checkjs.js.out",
});
itest!(error_009_op_crates_error {
args: "run error_009_op_crates_error.js",
output: "error_009_op_crates_error.js.out",
exit_code: 1,
});
itest!(error_011_bad_module_specifier {
args: "run --reload error_011_bad_module_specifier.ts",
exit_code: 1,