Add random delays in FakeFs
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
2b8685c1a2
commit
0cfb9ff1ae
6 changed files with 30 additions and 21 deletions
|
@ -40,7 +40,7 @@ pub fn test_app_state(cx: &mut MutableAppContext) -> Arc<AppState> {
|
|||
channel_list: cx.add_model(|cx| ChannelList::new(user_store.clone(), client.clone(), cx)),
|
||||
client,
|
||||
user_store,
|
||||
fs: Arc::new(FakeFs::new()),
|
||||
fs: Arc::new(FakeFs::new(cx.background().clone())),
|
||||
path_openers: Arc::from(path_openers),
|
||||
build_window_options: &build_window_options,
|
||||
build_workspace: &build_workspace,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue