diff options
Diffstat (limited to 'spec/frontend/monitoring/store/actions_spec.js')
-rw-r--r-- | spec/frontend/monitoring/store/actions_spec.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/frontend/monitoring/store/actions_spec.js b/spec/frontend/monitoring/store/actions_spec.js index 30675365513..8097857f226 100644 --- a/spec/frontend/monitoring/store/actions_spec.js +++ b/spec/frontend/monitoring/store/actions_spec.js @@ -177,7 +177,6 @@ describe('Monitoring store actions', () => { }); it('dispatches when feature metricsDashboardAnnotations is on', () => { - const origGon = window.gon; window.gon = { features: { metricsDashboardAnnotations: true } }; return testAction( @@ -190,9 +189,7 @@ describe('Monitoring store actions', () => { { type: 'fetchDashboard' }, { type: 'fetchAnnotations' }, ], - ).then(() => { - window.gon = origGon; - }); + ); }); }); |