diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-11 21:08:18 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-11 21:08:18 +0000 |
commit | d5012fff67191be53070d024a89195a666a581ed (patch) | |
tree | 08d4334c0202f365a5513dd2147d5a411fe05bcb /spec/frontend_integration/snippets/snippets_notes_spec.js | |
parent | 1a2f754734eb189e371e25e685413808f69a7f2c (diff) | |
download | gitlab-ce-d5012fff67191be53070d024a89195a666a581ed.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend_integration/snippets/snippets_notes_spec.js')
-rw-r--r-- | spec/frontend_integration/snippets/snippets_notes_spec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/frontend_integration/snippets/snippets_notes_spec.js b/spec/frontend_integration/snippets/snippets_notes_spec.js index 5e9eaa1aada..bfda86a48a2 100644 --- a/spec/frontend_integration/snippets/snippets_notes_spec.js +++ b/spec/frontend_integration/snippets/snippets_notes_spec.js @@ -1,12 +1,13 @@ import $ from 'jquery'; +import htmlSnippetsShow from 'test_fixtures/snippets/show.html'; import axios from '~/lib/utils/axios_utils'; import initGFMInput from '~/behaviors/markdown/gfm_auto_complete'; import initDeprecatedNotes from '~/init_deprecated_notes'; -import { loadHTMLFixture } from 'helpers/fixtures'; +import { setHTMLFixture } from 'helpers/fixtures'; describe('Integration Snippets notes', () => { beforeEach(async () => { - loadHTMLFixture('snippets/show.html'); + setHTMLFixture(htmlSnippetsShow); // Check if we have to Load GFM Input const $gfmInputs = $('.js-gfm-input:not(.js-gfm-input-initialized)'); |