diff --git a/admin/src/components/UserTable.spec.js b/admin/src/components/UserTable.spec.js index b83711c18..d900b126d 100644 --- a/admin/src/components/UserTable.spec.js +++ b/admin/src/components/UserTable.spec.js @@ -1,9 +1,7 @@ -import { createLocalVue, mount } from '@vue/test-utils' -import { BootstrapVue, IconsPlugin } from 'bootstrap-vue' +import { mount } from '@vue/test-utils' import UserTable from './UserTable.vue' -let localVue -// const localVue = global.localVue +const localVue = global.localVue const apolloQueryMock = jest.fn() apolloQueryMock.mockResolvedValue() @@ -133,9 +131,6 @@ describe('UserTable', () => { } const Wrapper = (propsData) => { - localVue = createLocalVue() - localVue.use(BootstrapVue) - localVue.use(IconsPlugin) return mount(UserTable, { localVue, propsData, mocks }) }