diff options
-rw-r--r-- | spec/javascripts/monitoring/dashboard_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/monitoring/dashboard_spec.js b/spec/javascripts/monitoring/dashboard_spec.js index 39de6f1bba6..29b355307ef 100644 --- a/spec/javascripts/monitoring/dashboard_spec.js +++ b/spec/javascripts/monitoring/dashboard_spec.js @@ -69,7 +69,7 @@ describe('Dashboard', () => { setTimeout(() => { expect(component.showEmptyState).toEqual(false); - expect(component.$el.querySelector('.legend-group')).toBeFalsy(); + expect(component.$el.querySelector('.legend-group')).toEqual(null); expect(component.$el.querySelector('.prometheus-graph-group')).toBeTruthy(); done(); }); @@ -83,7 +83,7 @@ describe('Dashboard', () => { setTimeout(() => { expect(component.showEmptyState).toEqual(false); - expect(component.$el.querySelector('.prometheus-panel')).toBeFalsy(); + expect(component.$el.querySelector('.prometheus-panel')).toEqual(null); expect(component.$el.querySelector('.prometheus-graph-group')).toBeTruthy(); done(); }); |