mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
Fix unneeded variables
This commit is contained in:
parent
1cace60ebd
commit
d35cee93f1
1 changed files with 1 additions and 2 deletions
|
@ -48,8 +48,7 @@ describe('Studio comments', () => {
|
|||
// Regression test for situation where admin logs out but localStorage still
|
||||
// contains "open", causing extra space to appear
|
||||
global.localStorage.setItem(adminPanelOpenKey, 'open');
|
||||
const component = mountWithIntl(<StudioAdminPanel showAdminPanel={false} />);
|
||||
const child = component.find(AdminPanel);
|
||||
mountWithIntl(<StudioAdminPanel showAdminPanel={false} />);
|
||||
expect(viewEl.classList.contains(adminPanelOpenClass)).toBe(false);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue