mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 13:44:47 +00:00
fix(op_crates/web): Use "deno:" URLs for internal script specifiers (#7383)
This commit is contained in:
parent
c14436a424
commit
b17a5fbcfa
10 changed files with 73 additions and 29 deletions
2
cli/tests/error_009_op_crates_error.js
Normal file
2
cli/tests/error_009_op_crates_error.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
// Missing arg.
|
||||
new Event();
|
3
cli/tests/error_009_op_crates_error.js.out
Normal file
3
cli/tests/error_009_op_crates_error.js.out
Normal 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]
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue