Ensure the SettingsStore global is added in tests

This commit is contained in:
Max Brunsfeld 2023-05-10 16:39:59 -07:00
parent 68867fe2e1
commit cee7edabf9
10 changed files with 61 additions and 32 deletions

View file

@ -158,7 +158,7 @@ fn main() {
context_menu::init(cx);
project::Project::init(&client);
client::init(client.clone(), cx);
client::init(&client, cx);
command_palette::init(cx);
editor::init(cx);
go_to_line::init(cx);

View file

@ -1283,9 +1283,7 @@ mod tests {
#[gpui::test]
async fn test_pane_actions(cx: &mut TestAppContext) {
init(cx);
let app_state = cx.update(AppState::test);
let app_state = init(cx);
app_state
.fs
.as_fake()