diff options
Diffstat (limited to 'spec/frontend/static_site_editor/components')
6 files changed, 13 insertions, 16 deletions
diff --git a/spec/frontend/static_site_editor/components/edit_area_spec.js b/spec/frontend/static_site_editor/components/edit_area_spec.js index 07097d00cc5..17fb3fe788a 100644 --- a/spec/frontend/static_site_editor/components/edit_area_spec.js +++ b/spec/frontend/static_site_editor/components/edit_area_spec.js @@ -1,15 +1,14 @@ -import { nextTick } from 'vue'; import { shallowMount } from '@vue/test-utils'; +import { nextTick } from 'vue'; import { stubComponent } from 'helpers/stub_component'; -import RichContentEditor from '~/vue_shared/components/rich_content_editor/rich_content_editor.vue'; -import { EDITOR_TYPES } from '~/vue_shared/components/rich_content_editor/constants'; - import EditArea from '~/static_site_editor/components/edit_area.vue'; -import PublishToolbar from '~/static_site_editor/components/publish_toolbar.vue'; -import EditHeader from '~/static_site_editor/components/edit_header.vue'; import EditDrawer from '~/static_site_editor/components/edit_drawer.vue'; +import EditHeader from '~/static_site_editor/components/edit_header.vue'; +import PublishToolbar from '~/static_site_editor/components/publish_toolbar.vue'; import UnsavedChangesConfirmDialog from '~/static_site_editor/components/unsaved_changes_confirm_dialog.vue'; +import { EDITOR_TYPES } from '~/vue_shared/components/rich_content_editor/constants'; +import RichContentEditor from '~/vue_shared/components/rich_content_editor/rich_content_editor.vue'; import { sourceContentTitle as title, diff --git a/spec/frontend/static_site_editor/components/edit_drawer_spec.js b/spec/frontend/static_site_editor/components/edit_drawer_spec.js index c47eef59997..402dfe441c5 100644 --- a/spec/frontend/static_site_editor/components/edit_drawer_spec.js +++ b/spec/frontend/static_site_editor/components/edit_drawer_spec.js @@ -1,6 +1,5 @@ -import { shallowMount } from '@vue/test-utils'; - import { GlDrawer } from '@gitlab/ui'; +import { shallowMount } from '@vue/test-utils'; import EditDrawer from '~/static_site_editor/components/edit_drawer.vue'; import FrontMatterControls from '~/static_site_editor/components/front_matter_controls.vue'; diff --git a/spec/frontend/static_site_editor/components/edit_meta_controls_spec.js b/spec/frontend/static_site_editor/components/edit_meta_controls_spec.js index cf82efc3d0b..7a8834933e0 100644 --- a/spec/frontend/static_site_editor/components/edit_meta_controls_spec.js +++ b/spec/frontend/static_site_editor/components/edit_meta_controls_spec.js @@ -1,6 +1,5 @@ -import { shallowMount } from '@vue/test-utils'; - import { GlDropdown, GlDropdownItem, GlFormInput, GlFormTextarea } from '@gitlab/ui'; +import { shallowMount } from '@vue/test-utils'; import EditMetaControls from '~/static_site_editor/components/edit_meta_controls.vue'; diff --git a/spec/frontend/static_site_editor/components/edit_meta_modal_spec.js b/spec/frontend/static_site_editor/components/edit_meta_modal_spec.js index c7d0abee05c..3a336f6a230 100644 --- a/spec/frontend/static_site_editor/components/edit_meta_modal_spec.js +++ b/spec/frontend/static_site_editor/components/edit_meta_modal_spec.js @@ -1,12 +1,12 @@ -import { shallowMount } from '@vue/test-utils'; import { GlModal } from '@gitlab/ui'; -import { useLocalStorageSpy } from 'helpers/local_storage_helper'; +import { shallowMount } from '@vue/test-utils'; import MockAdapter from 'axios-mock-adapter'; +import { useLocalStorageSpy } from 'helpers/local_storage_helper'; import axios from '~/lib/utils/axios_utils'; -import LocalStorageSync from '~/vue_shared/components/local_storage_sync.vue'; -import EditMetaModal from '~/static_site_editor/components/edit_meta_modal.vue'; import EditMetaControls from '~/static_site_editor/components/edit_meta_controls.vue'; +import EditMetaModal from '~/static_site_editor/components/edit_meta_modal.vue'; import { MR_META_LOCAL_STORAGE_KEY } from '~/static_site_editor/constants'; +import LocalStorageSync from '~/vue_shared/components/local_storage_sync.vue'; import { sourcePath, mergeRequestMeta, diff --git a/spec/frontend/static_site_editor/components/front_matter_controls_spec.js b/spec/frontend/static_site_editor/components/front_matter_controls_spec.js index 8001f2fbd29..5fda3b40306 100644 --- a/spec/frontend/static_site_editor/components/front_matter_controls_spec.js +++ b/spec/frontend/static_site_editor/components/front_matter_controls_spec.js @@ -1,6 +1,6 @@ +import { GlFormGroup } from '@gitlab/ui'; import { shallowMount } from '@vue/test-utils'; -import { GlFormGroup } from '@gitlab/ui'; import { humanize } from '~/lib/utils/text_utility'; import FrontMatterControls from '~/static_site_editor/components/front_matter_controls.vue'; diff --git a/spec/frontend/static_site_editor/components/submit_changes_error_spec.js b/spec/frontend/static_site_editor/components/submit_changes_error_spec.js index 7af3014b338..82a5c5f624a 100644 --- a/spec/frontend/static_site_editor/components/submit_changes_error_spec.js +++ b/spec/frontend/static_site_editor/components/submit_changes_error_spec.js @@ -1,5 +1,5 @@ -import { shallowMount } from '@vue/test-utils'; import { GlButton, GlAlert } from '@gitlab/ui'; +import { shallowMount } from '@vue/test-utils'; import SubmitChangesError from '~/static_site_editor/components/submit_changes_error.vue'; |