diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 18:10:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 18:10:35 +0300 |
commit | e8aa488899554f5fe4413779f485583d691fd5a8 (patch) | |
tree | e999521cc00b4b958c668e84550a439e559ca431 /spec/frontend/activities_spec.js | |
parent | 5cb0fa35e709bcd7f9d69e050010e44092a48623 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/activities_spec.js')
-rw-r--r-- | spec/frontend/activities_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/activities_spec.js b/spec/frontend/activities_spec.js index ebace21217a..e39aae45ce8 100644 --- a/spec/frontend/activities_spec.js +++ b/spec/frontend/activities_spec.js @@ -1,13 +1,13 @@ /* eslint-disable no-unused-expressions, no-prototype-builtins, no-new, no-shadow */ import $ from 'jquery'; -import { loadHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; +import htmlEventFilter from 'test_fixtures_static/event_filter.html'; +import { setHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; import Activities from '~/activities'; import Pager from '~/pager'; describe('Activities', () => { window.gon || (window.gon = {}); - const fixtureTemplate = 'static/event_filter.html'; const filters = [ { id: 'all', @@ -39,7 +39,7 @@ describe('Activities', () => { } beforeEach(() => { - loadHTMLFixture(fixtureTemplate); + setHTMLFixture(htmlEventFilter); jest.spyOn(Pager, 'init').mockImplementation(() => {}); new Activities(); }); |