Run until parked when setting editor's state via EditorTestContext
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
@@ -92,6 +92,7 @@ impl<'a> VimTestContext<'a> {
|
||||
vim.switch_mode(mode, true, cx);
|
||||
})
|
||||
});
|
||||
self.cx.foreground().run_until_parked();
|
||||
context_handle
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user