diff --git a/public/app/plugins/panel/graph/specs/graph_ctrl.test.ts b/public/app/plugins/panel/graph/specs/graph_ctrl.test.ts index df6e7f9a939..d1f428579c8 100644 --- a/public/app/plugins/panel/graph/specs/graph_ctrl.test.ts +++ b/public/app/plugins/panel/graph/specs/graph_ctrl.test.ts @@ -91,7 +91,7 @@ describe('GraphCtrl', () => { }); it('should set datapointsOutside', () => { - expect(ctx.ctrl.dataWarning).toBe(null); + expect(ctx.ctrl.dataWarning).toBeUndefined(); }); });