Add tests for the dock
This commit is contained in:
parent
ad77bb7b92
commit
3b9b2cd443
6 changed files with 276 additions and 88 deletions
|
@ -2934,6 +2934,8 @@ fn open_new(app_state: &Arc<AppState>, cx: &mut MutableAppContext) {
|
|||
mod tests {
|
||||
use std::cell::Cell;
|
||||
|
||||
use crate::sidebar::SidebarItem;
|
||||
|
||||
use super::*;
|
||||
use gpui::{executor::Deterministic, ModelHandle, TestAppContext, ViewContext};
|
||||
use project::{FakeFs, Project, ProjectEntryId};
|
||||
|
@ -3724,4 +3726,6 @@ mod tests {
|
|||
vec![ItemEvent::UpdateTab, ItemEvent::Edit]
|
||||
}
|
||||
}
|
||||
|
||||
impl SidebarItem for TestItem {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue