Commit 520756fb by Torkel Ödegaard

Fixed wrong line in test

parent d433a479
...@@ -58,7 +58,6 @@ describe('when updating view state', () => { ...@@ -58,7 +58,6 @@ describe('when updating view state', () => {
it('should remove params from query string', () => { it('should remove params from query string', () => {
viewState.update({ fullscreen: true, panelId: 1, edit: true }); viewState.update({ fullscreen: true, panelId: 1, edit: true });
viewState.update({ fullscreen: false }); viewState.update({ fullscreen: false });
expect(viewState.dashboard.meta.fullscreen).toBe(true);
expect(viewState.state.fullscreen).toBe(null); expect(viewState.state.fullscreen).toBe(null);
}); });
}); });
......
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