Add tests for the dock
This commit is contained in:
parent
ad77bb7b92
commit
3b9b2cd443
6 changed files with 276 additions and 88 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue