diff --git a/crates/diagnostics/src/diagnostics.rs b/crates/diagnostics/src/diagnostics.rs index b163a25d95..12fcc1395b 100644 --- a/crates/diagnostics/src/diagnostics.rs +++ b/crates/diagnostics/src/diagnostics.rs @@ -1499,6 +1499,7 @@ mod tests { language::init(cx); client::init_settings(cx); workspace::init_settings(cx); + Project::init_settings(cx); }); } diff --git a/crates/file_finder/src/file_finder.rs b/crates/file_finder/src/file_finder.rs index 6d2ba115b7..c4fce49152 100644 --- a/crates/file_finder/src/file_finder.rs +++ b/crates/file_finder/src/file_finder.rs @@ -1198,6 +1198,7 @@ mod tests { super::init(cx); editor::init(cx); workspace::init_settings(cx); + Project::init_settings(cx); state }) } diff --git a/crates/project/src/project_tests.rs b/crates/project/src/project_tests.rs index e48ce6258b..285e3ee9b6 100644 --- a/crates/project/src/project_tests.rs +++ b/crates/project/src/project_tests.rs @@ -1273,6 +1273,7 @@ async fn test_transforming_diagnostics(cx: &mut gpui::TestAppContext) { // The diagnostics have moved down since they were created. buffer.next_notification(cx).await; + buffer.next_notification(cx).await; buffer.read_with(cx, |buffer, _| { assert_eq!( buffer diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs index 6604472d86..8584d3f6b9 100644 --- a/crates/project_panel/src/project_panel.rs +++ b/crates/project_panel/src/project_panel.rs @@ -2229,6 +2229,7 @@ mod tests { editor::init_settings(cx); crate::init(cx); workspace::init_settings(cx); + Project::init_settings(cx); }); } diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs index d86823d224..7d95ec232d 100644 --- a/crates/search/src/project_search.rs +++ b/crates/search/src/project_search.rs @@ -1268,6 +1268,7 @@ pub mod tests { client::init_settings(cx); editor::init_settings(cx); workspace::init_settings(cx); + Project::init_settings(cx); }); } } diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rs index 1dfe9c24e5..619dd81a80 100644 --- a/crates/zed/src/zed.rs +++ b/crates/zed/src/zed.rs @@ -2085,6 +2085,7 @@ mod tests { theme::init((), cx); call::init(app_state.client.clone(), app_state.user_store.clone(), cx); workspace::init(app_state.clone(), cx); + Project::init_settings(cx); language::init(cx); editor::init(cx); project_panel::init_settings(cx);