add scan_complete await

This commit is contained in:
Mikayla Maki 2023-06-07 16:51:54 -07:00
parent 9e9d8e3a7b
commit 8ca1a7d43d
No known key found for this signature in database

View file

@ -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());