diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 12:27:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 12:27:52 +0300 |
commit | 996683657578757cf42ef7478a5c3b9874b312f0 (patch) | |
tree | adbc8884ee6f1fb381ea027fa8b51f68143c9dcf /spec/frontend/new_branch_spec.js | |
parent | 3fbe43541ef99c27a9e4ab9c545ec0eb9bb50a9e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/new_branch_spec.js')
-rw-r--r-- | spec/frontend/new_branch_spec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/frontend/new_branch_spec.js b/spec/frontend/new_branch_spec.js index 766e840cac5..baff5ebfdb8 100644 --- a/spec/frontend/new_branch_spec.js +++ b/spec/frontend/new_branch_spec.js @@ -1,4 +1,5 @@ -import { loadHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; +import htmlBranchesNewBranch from 'test_fixtures/branches/new_branch.html'; +import { setHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; import NewBranchForm from '~/new_branch_form'; describe('Branch', () => { @@ -20,7 +21,7 @@ describe('Branch', () => { } beforeEach(() => { - loadHTMLFixture('branches/new_branch.html'); + setHTMLFixture(htmlBranchesNewBranch); document.querySelector('form').addEventListener('submit', (e) => e.preventDefault()); testContext.form = new NewBranchForm(document.querySelector('.js-create-branch-form'), []); }); |