Commit 26c6bdca authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'xanf-remove-localVue-121599' into 'master'

Remove incorrect localVue usage in ee/spec/frontend/ide

Closes #121599

See merge request gitlab-org/gitlab!22587
parents 712bf231 a1104148
......@@ -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