Peter Holmberg 7 anos atrás
pai
commit
d433a4792a

+ 1 - 1
public/app/features/dashboard/services/DashboardViewStateSrv.test.ts

@@ -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);
     });
   });