mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
fix(cli/test): fix clear screen behavior when run deno test --watch
(#19888)
fix #19725
This commit is contained in:
parent
b9765647de
commit
8053df2de6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue