Ensure the SettingsStore global is added in tests
This commit is contained in:
parent
68867fe2e1
commit
cee7edabf9
10 changed files with 61 additions and 32 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue