diff options
Diffstat (limited to 'spec/frontend/user_lists/components')
3 files changed, 12 insertions, 12 deletions
diff --git a/spec/frontend/user_lists/components/edit_user_list_spec.js b/spec/frontend/user_lists/components/edit_user_list_spec.js index 958e86ac050..bd71a677a24 100644 --- a/spec/frontend/user_lists/components/edit_user_list_spec.js +++ b/spec/frontend/user_lists/components/edit_user_list_spec.js @@ -1,14 +1,14 @@ +import { GlAlert, GlLoadingIcon } from '@gitlab/ui'; +import { createLocalVue, mount } from '@vue/test-utils'; import Vue from 'vue'; import Vuex from 'vuex'; -import { createLocalVue, mount } from '@vue/test-utils'; -import { GlAlert, GlLoadingIcon } from '@gitlab/ui'; import waitForPromises from 'helpers/wait_for_promises'; import Api from '~/api'; -import createStore from '~/user_lists/store/edit'; +import { redirectTo } from '~/lib/utils/url_utility'; import EditUserList from '~/user_lists/components/edit_user_list.vue'; import UserListForm from '~/user_lists/components/user_list_form.vue'; +import createStore from '~/user_lists/store/edit'; import { userList } from '../../feature_flags/mock_data'; -import { redirectTo } from '~/lib/utils/url_utility'; jest.mock('~/api'); jest.mock('~/lib/utils/url_utility'); diff --git a/spec/frontend/user_lists/components/new_user_list_spec.js b/spec/frontend/user_lists/components/new_user_list_spec.js index 421b49f40e9..a81e8912714 100644 --- a/spec/frontend/user_lists/components/new_user_list_spec.js +++ b/spec/frontend/user_lists/components/new_user_list_spec.js @@ -1,12 +1,12 @@ +import { GlAlert } from '@gitlab/ui'; import { mount, createLocalVue } from '@vue/test-utils'; import Vue from 'vue'; import Vuex from 'vuex'; -import { GlAlert } from '@gitlab/ui'; import waitForPromises from 'helpers/wait_for_promises'; import Api from '~/api'; -import createStore from '~/user_lists/store/new'; -import NewUserList from '~/user_lists/components/new_user_list.vue'; import { redirectTo } from '~/lib/utils/url_utility'; +import NewUserList from '~/user_lists/components/new_user_list.vue'; +import createStore from '~/user_lists/store/new'; import { userList } from '../../feature_flags/mock_data'; jest.mock('~/api'); diff --git a/spec/frontend/user_lists/components/user_list_spec.js b/spec/frontend/user_lists/components/user_list_spec.js index cd00c421154..f016b5091d9 100644 --- a/spec/frontend/user_lists/components/user_list_spec.js +++ b/spec/frontend/user_lists/components/user_list_spec.js @@ -1,12 +1,12 @@ -import Vue from 'vue'; -import Vuex from 'vuex'; +import { GlAlert, GlEmptyState, GlLoadingIcon } from '@gitlab/ui'; import { mount } from '@vue/test-utils'; import { uniq } from 'lodash'; -import { GlAlert, GlEmptyState, GlLoadingIcon } from '@gitlab/ui'; +import Vue from 'vue'; +import Vuex from 'vuex'; import Api from '~/api'; -import { parseUserIds, stringifyUserIds } from '~/user_lists/store/utils'; -import createStore from '~/user_lists/store/show'; import UserList from '~/user_lists/components/user_list.vue'; +import createStore from '~/user_lists/store/show'; +import { parseUserIds, stringifyUserIds } from '~/user_lists/store/utils'; import { userList } from '../../feature_flags/mock_data'; jest.mock('~/api'); |