diff --git a/crates/editor/src/display_map.rs b/crates/editor/src/display_map.rs index 3bcaf8803a..511a85671e 100644 --- a/crates/editor/src/display_map.rs +++ b/crates/editor/src/display_map.rs @@ -1872,6 +1872,7 @@ pub mod tests { cx.set_global(settings); language::init(cx); crate::init(cx); + workspace::init_settings(cx); Project::init_settings(cx); theme::init(LoadThemes::JustBase, cx); cx.update_global::(|store, cx| { diff --git a/crates/editor/src/movement.rs b/crates/editor/src/movement.rs index 34299ffad6..2f18e35603 100644 --- a/crates/editor/src/movement.rs +++ b/crates/editor/src/movement.rs @@ -1032,6 +1032,7 @@ mod tests { theme::init(theme::LoadThemes::JustBase, cx); language::init(cx); crate::init(cx); + workspace::init_settings(cx); Project::init_settings(cx); } } diff --git a/crates/language_tools/src/lsp_log_tests.rs b/crates/language_tools/src/lsp_log_tests.rs index 6058f454b5..d62aae844e 100644 --- a/crates/language_tools/src/lsp_log_tests.rs +++ b/crates/language_tools/src/lsp_log_tests.rs @@ -108,6 +108,7 @@ fn init_test(cx: &mut gpui::TestAppContext) { release_channel::init("0.0.0", cx); language::init(cx); client::init_settings(cx); + workspace::init_settings(cx); Project::init_settings(cx); editor::init_settings(cx); });