diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 10:33:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 10:33:21 +0300 |
commit | 36a59d088eca61b834191dacea009677a96c052f (patch) | |
tree | e4f33972dab5d8ef79e3944a9f403035fceea43f /spec/frontend_integration/ide/user_opens_file_spec.js | |
parent | a1761f15ec2cae7c7f7bbda39a75494add0dfd6f (diff) |
Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42
Diffstat (limited to 'spec/frontend_integration/ide/user_opens_file_spec.js')
-rw-r--r-- | spec/frontend_integration/ide/user_opens_file_spec.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/frontend_integration/ide/user_opens_file_spec.js b/spec/frontend_integration/ide/user_opens_file_spec.js index 2cb3363ef85..c3131f6ad45 100644 --- a/spec/frontend_integration/ide/user_opens_file_spec.js +++ b/spec/frontend_integration/ide/user_opens_file_spec.js @@ -1,4 +1,5 @@ import { screen } from '@testing-library/dom'; +import { setHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; import { useOverclockTimers } from 'test_helpers/utils/overclock_timers'; import * as ideHelper from './helpers/ide_helper'; import startWebIDE from './helpers/start'; @@ -10,7 +11,7 @@ describe('IDE: User opens a file in the Web IDE', () => { let container; beforeEach(async () => { - setFixtures('<div class="webide-container"></div>'); + setHTMLFixture('<div class="webide-container"></div>'); container = document.querySelector('.webide-container'); vm = startWebIDE(container); @@ -21,6 +22,7 @@ describe('IDE: User opens a file in the Web IDE', () => { afterEach(() => { vm.$destroy(); vm = null; + resetHTMLFixture(); }); describe('user opens a directory', () => { |