fixing test

This commit is contained in:
Peter Holmberg 2019-01-28 14:07:37 +01:00
parent c9cab9b677
commit d433a4792a

View File

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