diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-10-26 07:17:58 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 07:17:58 +1100 |
commit | 3d19fb493b82a8ab9b3fd0fa923fc81fd68acb4e (patch) | |
tree | 8080a1f05c43c972db1a0ecbc0a39ed74c78f419 /cli/tests/integration_tests.rs | |
parent | 95854b88ad4a67afb885322c70bb424352bca49e (diff) |
fix(cli): properly handle roots with extensions that don't match media type (#8114)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index d88309cb2..74fac3ab1 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2722,6 +2722,18 @@ itest!(_053_import_compression { http_server: true, }); +itest!(cache_extensionless { + args: "cache --reload http://localhost:4545/cli/tests/subdir/no_js_ext", + output: "cache_extensionless.out", + http_server: true, +}); + +itest!(cache_random_extension { + args: "cache --reload http://localhost:4545/cli/tests/subdir/no_js_ext@1.0.0", + output: "cache_random_extension.out", + http_server: true, +}); + itest!(cafile_url_imports { args: "run --quiet --reload --cert tls/RootCA.pem cafile_url_imports.ts", output: "cafile_url_imports.ts.out", |