Fix errors in passing TestAppContext in async gpui2 tests

This commit is contained in:
Antonio Scandurra
2023-10-25 21:08:00 +02:00
parent 43d230cb2d
commit c5763cdb99
3 changed files with 41 additions and 38 deletions
+8
View File
@@ -48,6 +48,14 @@ impl TestAppContext {
}
}
pub fn remove_all_windows(&self) {
// todo!("use app quit instead")
}
pub fn clear_globals(&self) {
// todo!("use app quit instead")
}
pub fn refresh(&mut self) -> Result<()> {
let mut lock = self.app.lock();
lock.refresh();