diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-14 00:10:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-14 00:10:15 +0300 |
commit | a269fb8e7cca24b826dd3f53485641ffce93bbee (patch) | |
tree | 81a7c4f56feba26bb6244c8a3a76123533f68aa8 /spec/frontend_integration/diffs | |
parent | 7e064974b92de60a3ef4642905e8af98a364a7a0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend_integration/diffs')
-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 = ''; |