Ensure the SettingsStore global is added in tests
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user