diff options
Diffstat (limited to 'spec/frontend/blob/line_highlighter_spec.js')
-rw-r--r-- | spec/frontend/blob/line_highlighter_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/blob/line_highlighter_spec.js b/spec/frontend/blob/line_highlighter_spec.js index 21d4e8db503..b2e1a29b84f 100644 --- a/spec/frontend/blob/line_highlighter_spec.js +++ b/spec/frontend/blob/line_highlighter_spec.js @@ -1,7 +1,7 @@ /* eslint-disable no-return-assign, no-new, no-underscore-dangle */ - import $ from 'jquery'; -import { loadHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; +import htmlStaticLineHighlighter from 'test_fixtures_static/line_highlighter.html'; +import { setHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; import LineHighlighter from '~/blob/line_highlighter'; import * as utils from '~/lib/utils/common_utils'; @@ -17,7 +17,7 @@ describe('LineHighlighter', () => { }; beforeEach(() => { - loadHTMLFixture('static/line_highlighter.html'); + setHTMLFixture(htmlStaticLineHighlighter); testContext.class = new LineHighlighter(); testContext.css = testContext.class.highlightLineClass; return (testContext.spies = { |