mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -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
|
// Regression test for situation where admin logs out but localStorage still
|
||||||
// contains "open", causing extra space to appear
|
// contains "open", causing extra space to appear
|
||||||
global.localStorage.setItem(adminPanelOpenKey, 'open');
|
global.localStorage.setItem(adminPanelOpenKey, 'open');
|
||||||
const component = mountWithIntl(<StudioAdminPanel showAdminPanel={false} />);
|
mountWithIntl(<StudioAdminPanel showAdminPanel={false} />);
|
||||||
const child = component.find(AdminPanel);
|
|
||||||
expect(viewEl.classList.contains(adminPanelOpenClass)).toBe(false);
|
expect(viewEl.classList.contains(adminPanelOpenClass)).toBe(false);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue