diff options
Diffstat (limited to 'spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js')
-rw-r--r-- | spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js b/spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js index 0e748baa313..0b12df83cd1 100644 --- a/spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js +++ b/spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js @@ -1,6 +1,6 @@ import { GlLoadingIcon, GlButton, GlIntersectionObserver, GlFormInput } from '@gitlab/ui'; -import { createLocalVue, shallowMount } from '@vue/test-utils'; -import { nextTick } from 'vue'; +import { shallowMount } from '@vue/test-utils'; +import Vue, { nextTick } from 'vue'; import Vuex from 'vuex'; import { STATUSES } from '~/import_entities/constants'; import ImportProjectsTable from '~/import_entities/import_projects/components/import_projects_table.vue'; @@ -46,8 +46,7 @@ describe('ImportProjectsTable', () => { filterable, paginatable, } = {}) { - const localVue = createLocalVue(); - localVue.use(Vuex); + Vue.use(Vuex); const store = new Vuex.Store({ state: { ...state(), defaultTargetNamespace: USER_NAMESPACE, ...initialState }, @@ -67,7 +66,6 @@ describe('ImportProjectsTable', () => { }); wrapper = shallowMount(ImportProjectsTable, { - localVue, store, propsData: { providerTitle, |