mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 04:44:30 +00:00
add scan_complete await
This commit is contained in:
parent
9e9d8e3a7b
commit
8ca1a7d43d
1 changed files with 3 additions and 0 deletions
|
@ -5387,6 +5387,9 @@ mod tests {
|
|||
.await
|
||||
.unwrap();
|
||||
|
||||
cx.read(|cx| tree.read(cx).as_local().unwrap().scan_complete())
|
||||
.await;
|
||||
|
||||
cx.foreground().run_until_parked();
|
||||
let snapshot = tree.read_with(cx, |tree, _| tree.snapshot());
|
||||
|
||||
|
|
Loading…
Reference in a new issue