Use quit to end tests

This commit is contained in:
Conrad Irwin 2023-10-26 10:40:04 +02:00
parent 51aa0d6a94
commit 5651ef7ca2
4 changed files with 10 additions and 18 deletions

View file

@ -48,12 +48,8 @@ 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 quit(&self) {
self.app.lock().quit();
}
pub fn refresh(&mut self) -> Result<()> {