From 2145e66ab6cd8bfa6cb7ad5a22e02886b90d32af Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Wed, 17 Aug 2022 15:34:24 +0200 Subject: [PATCH] Remove tests for sidePanelsVisible --- packages/application/test/shell.spec.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/application/test/shell.spec.ts b/packages/application/test/shell.spec.ts index b8b237084..4b4f77f3c 100644 --- a/packages/application/test/shell.spec.ts +++ b/packages/application/test/shell.spec.ts @@ -13,20 +13,13 @@ import { Widget } from '@lumino/widgets'; describe('Shell for notebooks', () => { let shell: INotebookShell; - let sidePanelsVisibleSpy: jest.SpyInstance; beforeEach(() => { shell = new NotebookShell(); - sidePanelsVisibleSpy = jest - .spyOn(shell, 'sidePanelsVisible') - .mockImplementation(() => { - return true; - }); Widget.attach(shell, document.body); }); afterEach(() => { - sidePanelsVisibleSpy.mockRestore(); shell.dispose(); }); @@ -121,20 +114,13 @@ describe('Shell for notebooks', () => { describe('Shell for tree view', () => { let shell: INotebookShell; - let sidePanelsVisibleSpy: jest.SpyInstance; beforeEach(() => { shell = new NotebookShell(); - sidePanelsVisibleSpy = jest - .spyOn(shell, 'sidePanelsVisible') - .mockImplementation(() => { - return false; - }); Widget.attach(shell, document.body); }); afterEach(() => { - sidePanelsVisibleSpy.mockRestore(); shell.dispose(); });