From a1d0a427e807959666a6b23ae015e4e04659abf5 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Wed, 18 Sep 2024 12:15:13 -0700 Subject: feat: default to TS for file extension and support ext flag in more scenarios (#25472) Closes #11220 Currently does lint, fmt, and repl --- cli/tools/test/mod.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'cli/tools/test') 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 { -- cgit v1.2.3