Run until parked when setting editor's state via EditorTestContext
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
13cf3ada39
commit
943aeb8c09
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ impl<'a> VimTestContext<'a> {
|
||||||
vim.switch_mode(mode, true, cx);
|
vim.switch_mode(mode, true, cx);
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
self.cx.foreground().run_until_parked();
|
||||||
context_handle
|
context_handle
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue