Add tests for the dock

This commit is contained in:
K Simmons 2022-09-13 19:18:05 -07:00
parent ad77bb7b92
commit 3b9b2cd443
6 changed files with 276 additions and 88 deletions

View file

@ -88,7 +88,7 @@ pub struct EditorTestContext<'a> {
}
impl<'a> EditorTestContext<'a> {
pub async fn new(cx: &'a mut gpui::TestAppContext) -> EditorTestContext<'a> {
pub fn new(cx: &'a mut gpui::TestAppContext) -> EditorTestContext<'a> {
let (window_id, editor) = cx.update(|cx| {
cx.set_global(Settings::test(cx));
crate::init(cx);