diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-06-01 21:01:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 21:01:51 +0200 |
commit | c81399080686bb5293869f30714a6d1b97a75801 (patch) | |
tree | 247f5046dd3c18b44b5d5127b13f046e1b32de88 /cli/tests/integration_tests.rs | |
parent | becbb56b19e96e4dd72b861217a855fba953d290 (diff) |
fix: compile TS dependencies of JS files (#6000)
This commit fixes regression that caused TS dependencies
not being compiled.
Check was added that ensures TS compiler is run if
any of dependencies in module graph is TS/TSX/JSX.
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 807efb1c5..5f4b37744 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -1837,6 +1837,11 @@ itest!(cjs_imports { output: "cjs_imports.ts.out", }); +itest!(ts_import_from_js { + args: "run --quiet --reload ts_import_from_js.js", + output: "ts_import_from_js.js.out", +}); + itest!(proto_exploit { args: "run proto_exploit.js", output: "proto_exploit.js.out", |