diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rs index 7b039291bc..970b6d7180 100644 --- a/crates/zed/src/zed.rs +++ b/crates/zed/src/zed.rs @@ -3121,7 +3121,7 @@ mod tests { fn init_test(cx: &mut TestAppContext) -> Arc { cx.update(|cx| { - env_logger::try_init().ok(); + env_logger::builder().is_test(true).try_init().ok(); let mut app_state = AppState::test(cx);