mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 02:17:35 +03:00
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
@ -92,6 +92,7 @@ impl<'a> VimTestContext<'a> {
|
||||
vim.switch_mode(mode, true, cx);
|
||||
})
|
||||
});
|
||||
self.cx.foreground().run_until_parked();
|
||||
context_handle
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user