mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add tiny test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
c50ca45b49
commit
7736589738
1 file changed
+7
@@ -77,4 +77,11 @@ describe("DockStore", () => {
|
||||
|
||||
expect(dockStore.selectedTabId).toBeUndefined();
|
||||
});
|
||||
|
||||
it("doesn't change selected tab if other tab closed", () => {
|
||||
dockStore.tabs = initialTabs;
|
||||
dockStore.closeTab("install");
|
||||
|
||||
expect(dockStore.selectedTabId).toBe("terminal");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user