fix(ext/web): set location undefined when --location is not specified (#13046)

This commit is contained in:
Yoshiya Hinosawa 2021-12-14 00:35:59 +09:00 committed by GitHub
parent a2b4d13540
commit 308813ae29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 10 deletions

View file

@ -233,7 +233,6 @@ itest!(_070_location {
itest!(_071_location_unset {
args: "run 071_location_unset.ts",
output: "071_location_unset.ts.out",
exit_code: 1,
});
itest!(_072_location_relative_fetch {

View file

@ -1,4 +1,4 @@
[WILDCARD][Function: Location]
Location {}
error: Uncaught ReferenceError: Access to "location", run again with --location <href>.
undefined
[WILDCARD]