diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-26 15:09:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-26 15:09:18 +0300 |
commit | 9edf852c3a851d84b85bc94f7a3b41d5ef04dd32 (patch) | |
tree | f79a739a455d5d02758e225582688c0451465aa6 /spec/frontend/header_spec.js | |
parent | 6f22c85c38b7a896178879172f4c0f82353308f8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/header_spec.js')
-rw-r--r-- | spec/frontend/header_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/header_spec.js b/spec/frontend/header_spec.js index 4e2fb70a2cb..4907dc09a3c 100644 --- a/spec/frontend/header_spec.js +++ b/spec/frontend/header_spec.js @@ -1,11 +1,11 @@ +import htmlOpenIssue from 'test_fixtures/issues/open-issue.html'; import { mockTracking, unmockTracking } from 'helpers/tracking_helper'; import initTodoToggle, { initNavUserDropdownTracking } from '~/header'; -import { loadHTMLFixture, setHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; +import { setHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; describe('Header', () => { describe('Todos notification', () => { const todosPendingCount = '.js-todos-count'; - const fixtureTemplate = 'issues/open-issue.html'; function isTodosCountHidden() { return document.querySelector(todosPendingCount).classList.contains('hidden'); @@ -23,7 +23,7 @@ describe('Header', () => { beforeEach(() => { initTodoToggle(); - loadHTMLFixture(fixtureTemplate); + setHTMLFixture(htmlOpenIssue); }); afterEach(() => { |