summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-01-18 13:59:29 +0100
committerGitHub <noreply@github.com>2021-01-18 13:59:29 +0100
commit7a30d1a3d85b47434c1bdbd03052ade3dba3c77c (patch)
tree34df25c43fd690c7acd62d9a8c72704553eb80ae /cli/tests/integration_tests.rs
parent12577f2d9a08256417af2f1e92ed7f667f7a4a6a (diff)
fix: redirect in --location relative fetch (#9150)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 226bf9b9b..9cb5cd5f1 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -2662,6 +2662,12 @@ itest!(_080_deno_emit_permissions {
exit_code: 1,
});
+itest!(_081_location_relative_fetch_redirect {
+ args: "run --location http://127.0.0.1:4546/ --allow-net 081_location_relative_fetch_redirect.ts",
+ output: "081_location_relative_fetch_redirect.ts.out",
+ http_server: true,
+});
+
itest!(js_import_detect {
args: "run --quiet --reload js_import_detect.ts",
output: "js_import_detect.ts.out",