Allow active call to be optional on workspace
This prepares us for a future where the workspace is unaware of the active call and doesn't require all tests to invoke `call::init`.
This commit is contained in:
parent
ee2587d3e5
commit
4c07a0782b
3 changed files with 42 additions and 24 deletions
|
@ -1755,6 +1755,7 @@ mod tests {
|
|||
let state = Arc::get_mut(&mut app_state).unwrap();
|
||||
state.initialize_workspace = initialize_workspace;
|
||||
state.build_window_options = build_window_options;
|
||||
call::init(app_state.client.clone(), app_state.user_store.clone(), cx);
|
||||
workspace::init(app_state.clone(), cx);
|
||||
editor::init(cx);
|
||||
pane::init(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue