Test creating a new empty workspace and fix test compile errors

This commit is contained in:
Nathan Sobo
2021-06-09 16:38:32 -06:00
parent b5cb41c7f0
commit 66c76d5469
2 changed files with 31 additions and 3 deletions
+6
View File
@@ -264,6 +264,12 @@ impl TestAppContext {
);
}
pub fn dispatch_global_action<T: 'static + Any>(&self, name: &str, arg: T) {
self.0
.borrow_mut()
.dispatch_global_action(name, arg);
}
pub fn dispatch_keystroke(
&self,
window_id: usize,