From 8547a37132752cf6a979237c5a52a7bf16a4e833 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Thu, 23 Dec 2021 00:25:06 +1100 Subject: chore: update deno_graph and deno_doc (#13173) --- cli/tools/test.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cli/tools') diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 959cefcc1..d78363add 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -1092,6 +1092,11 @@ pub async fn run_tests_with_watch( let files_changed = changed.is_some(); let include = include.clone(); let ignore = ignore.clone(); + let check_js = ps + .maybe_config_file + .as_ref() + .map(|cf| cf.get_check_js()) + .unwrap_or(false); async move { let test_modules = if test_flags.doc { @@ -1131,7 +1136,7 @@ pub async fn run_tests_with_watch( None, ) .await; - graph_valid(&graph, !no_check)?; + graph_valid(&graph, !no_check, check_js)?; // TODO(@kitsonk) - This should be totally derivable from the graph. for specifier in test_modules { -- cgit v1.2.3