diff options
Diffstat (limited to 'spec/frontend_integration/diffs/diffs_interopability_spec.js')
-rw-r--r-- | spec/frontend_integration/diffs/diffs_interopability_spec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/frontend_integration/diffs/diffs_interopability_spec.js b/spec/frontend_integration/diffs/diffs_interopability_spec.js index 064e3d21180..8e9bc4f0a5f 100644 --- a/spec/frontend_integration/diffs/diffs_interopability_spec.js +++ b/spec/frontend_integration/diffs/diffs_interopability_spec.js @@ -1,6 +1,7 @@ import { waitFor } from '@testing-library/dom'; import setWindowLocation from 'helpers/set_window_location_helper'; import { TEST_HOST } from 'helpers/test_constants'; +import { stubPerformanceWebAPI } from 'helpers/performance'; import initDiffsApp from '~/diffs'; import { createStore } from '~/mr_notes/stores'; import { @@ -74,6 +75,10 @@ const startDiffsApp = () => { describe('diffs third party interoperability', () => { let vm; + beforeEach(() => { + stubPerformanceWebAPI(); + }); + afterEach(() => { vm.$destroy(); document.body.innerHTML = ''; |