Fix tests
This commit is contained in:
@@ -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::<SettingsStore, _>(|store, cx| {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user