summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-22 16:01:00 +0200
committerGitHub <noreply@github.com>2020-05-22 16:01:00 +0200
commitf9e45114b9c423b72e9c44c4a8aef90f5c3b44d6 (patch)
treeb8e4c4f8586b116f1a1bb04cd10ceb6e2cd1cdeb /cli/tests/integration_tests.rs
parentee710994925e8840ea387e1853d9c15f3eb73149 (diff)
fix: redirects handling in module analysis (#5726)
This commit fixes a bug introduced in #5029 that caused bad handling of redirects during module analysis. Also ensured that duplicate modules are not downloaded.
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 5419d3270..59e5f554d 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -1565,6 +1565,12 @@ itest!(type_directives_js_main {
exit_code: 0,
});
+itest!(type_directives_redirect {
+ args: "run --reload type_directives_redirect.ts",
+ output: "type_directives_redirect.ts.out",
+ http_server: true,
+});
+
itest!(types {
args: "types",
output: "types.out",