diff options
Diffstat (limited to 'spec/frontend/snippet')
-rw-r--r-- | spec/frontend/snippet/collapsible_input_spec.js | 2 | ||||
-rw-r--r-- | spec/frontend/snippet/snippet_bundle_spec.js | 2 | ||||
-rw-r--r-- | spec/frontend/snippet/snippet_edit_spec.js | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/spec/frontend/snippet/collapsible_input_spec.js b/spec/frontend/snippet/collapsible_input_spec.js index acd15164c95..aa017964437 100644 --- a/spec/frontend/snippet/collapsible_input_spec.js +++ b/spec/frontend/snippet/collapsible_input_spec.js @@ -1,5 +1,5 @@ -import setupCollapsibleInputs from '~/snippet/collapsible_input'; import { setHTMLFixture } from 'helpers/fixtures'; +import setupCollapsibleInputs from '~/snippet/collapsible_input'; describe('~/snippet/collapsible_input', () => { let formEl; diff --git a/spec/frontend/snippet/snippet_bundle_spec.js b/spec/frontend/snippet/snippet_bundle_spec.js index 38d05243c65..ad69a91fe89 100644 --- a/spec/frontend/snippet/snippet_bundle_spec.js +++ b/spec/frontend/snippet/snippet_bundle_spec.js @@ -1,6 +1,6 @@ +import { setHTMLFixture } from 'helpers/fixtures'; import Editor from '~/editor/editor_lite'; import initEditor from '~/snippet/snippet_bundle'; -import { setHTMLFixture } from 'helpers/fixtures'; jest.mock('~/editor/editor_lite', () => jest.fn()); diff --git a/spec/frontend/snippet/snippet_edit_spec.js b/spec/frontend/snippet/snippet_edit_spec.js index cfe5062c86b..7c12c0cac03 100644 --- a/spec/frontend/snippet/snippet_edit_spec.js +++ b/spec/frontend/snippet/snippet_edit_spec.js @@ -1,9 +1,8 @@ import '~/snippet/snippet_edit'; +import { triggerDOMEvent } from 'jest/helpers/dom_events_helper'; import { SnippetEditInit } from '~/snippets'; import initSnippet from '~/snippet/snippet_bundle'; -import { triggerDOMEvent } from 'jest/helpers/dom_events_helper'; - jest.mock('~/snippet/snippet_bundle'); jest.mock('~/snippets'); |