From 78566753c81a26dc1855d8187c8192ffb1ba64e2 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 7 Dec 2023 15:59:13 -0500 Subject: feat: add suggestions to module not found error messages for file urls (#21498) --- cli/tools/test/mod.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cli/tools/test/mod.rs') diff --git a/cli/tools/test/mod.rs b/cli/tools/test/mod.rs index c69c3115c..5d943d716 100644 --- a/cli/tools/test/mod.rs +++ b/cli/tools/test/mod.rs @@ -1280,7 +1280,12 @@ pub async fn run_tests_with_watch( let graph = module_graph_builder .create_graph(graph_kind, test_modules.clone()) .await?; - graph_valid_with_cli_options(&graph, &test_modules, &cli_options)?; + graph_valid_with_cli_options( + &graph, + factory.fs(), + &test_modules, + &cli_options, + )?; let test_modules_to_reload = if let Some(changed_paths) = changed_paths { -- cgit v1.2.3