Commit a1104148 authored by Illya Klymov's avatar Illya Klymov

Remove incorrect localVue usage

localVue is required only with use method
parent 4372a6c9
......@@ -14,7 +14,7 @@ describe('ee/ide/components/ide_status_list', () => {
const createComponent = () => {
store = createStore();
wrapper = mount(localVue.extend(IdeStatusList), {
wrapper = mount(IdeStatusList, {
localVue,
sync: false,
store,
......
......@@ -20,7 +20,7 @@ describe('IDE EERightPane', () => {
},
});
wrapper = shallowMount(localVue.extend(EERightPane), { localVue, store });
wrapper = shallowMount(EERightPane, { localVue, store });
};
beforeEach(() => {
......
......@@ -25,7 +25,7 @@ describe('EE IDE TerminalSession', () => {
},
});
wrapper = shallowMount(localVue.extend(TerminalSession), {
wrapper = shallowMount(TerminalSession, {
localVue,
store,
...options,
......
import { createLocalVue, shallowMount } from '@vue/test-utils';
import { shallowMount } from '@vue/test-utils';
import TerminalControls from 'ee/ide/components/terminal/terminal_controls.vue';
import ScrollButton from '~/ide/components/jobs/detail/scroll_button.vue';
const localVue = createLocalVue();
describe('EE IDE TerminalControls', () => {
let wrapper;
let buttons;
const factory = (options = {}) => {
wrapper = shallowMount(localVue.extend(TerminalControls), {
localVue,
wrapper = shallowMount(TerminalControls, {
...options,
});
......
......@@ -15,7 +15,7 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status_safe', () => {
state: {},
});
wrapper = shallowMount(localVue.extend(TerminalSyncStatusSafe), {
wrapper = shallowMount(TerminalSyncStatusSafe, {
localVue,
sync: false,
store,
......
......@@ -35,7 +35,7 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status', () => {
},
});
wrapper = shallowMount(localVue.extend(TerminalSyncStatus), {
wrapper = shallowMount(TerminalSyncStatus, {
attachToDocument: true,
localVue,
sync: false,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment