Commit d35cee93 authored by Paul Kaplan's avatar Paul Kaplan

Fix unneeded variables

parent 1cace60e
...@@ -48,8 +48,7 @@ describe('Studio comments', () => { ...@@ -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);
}); });
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment