summaryrefslogtreecommitdiff
path: root/cli/tools/test
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2024-09-18 12:15:13 -0700
committerGitHub <noreply@github.com>2024-09-18 21:15:13 +0200
commita1d0a427e807959666a6b23ae015e4e04659abf5 (patch)
treec588767979d1f7ded1830d042f737774b23addf6 /cli/tools/test
parent7a41a939972b701e96cb70cbf0516595fefcae02 (diff)
feat: default to TS for file extension and support ext flag in more scenarios (#25472)
Closes #11220 Currently does lint, fmt, and repl
Diffstat (limited to 'cli/tools/test')
-rw-r--r--cli/tools/test/mod.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/cli/tools/test/mod.rs b/cli/tools/test/mod.rs
index d043ffcba..e81abad0b 100644
--- a/cli/tools/test/mod.rs
+++ b/cli/tools/test/mod.rs
@@ -1583,7 +1583,10 @@ pub async fn run_tests(
// Typecheck
main_graph_container
- .check_specifiers(&specifiers_for_typecheck_and_test)
+ .check_specifiers(
+ &specifiers_for_typecheck_and_test,
+ cli_options.ext_flag().as_ref(),
+ )
.await?;
if workspace_test_options.no_run {
@@ -1757,7 +1760,10 @@ pub async fn run_tests_with_watch(
// Typecheck
main_graph_container
- .check_specifiers(&specifiers_for_typecheck_and_test)
+ .check_specifiers(
+ &specifiers_for_typecheck_and_test,
+ cli_options.ext_flag().as_ref(),
+ )
.await?;
if workspace_test_options.no_run {