From 8053df2de68b8a423c887d3d69a6282f898227bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=91=9E=E4=B8=B0?= Date: Tue, 25 Jul 2023 12:07:54 +0800 Subject: [PATCH] fix(cli/test): fix clear screen behavior when run `deno test --watch` (#19888) fix #19725 --- cli/tools/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 1f3f4494f3..919361eaaa 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -1789,7 +1789,7 @@ pub async fn run_tests_with_watch( flags, file_watcher::PrintConfig { job_name: "Test".to_string(), - clear_screen: !test_flags + clear_screen: test_flags .watch .as_ref() .map(|w| !w.no_clear_screen)