Commit 7e04dfdc authored by Mike Greiling's avatar Mike Greiling

Merge branch 'xanf-remove-attachToDocument-196763' into 'master'

Remove useless attachToDocument usage in spec/frontend/vue_shared

Closes #196763

See merge request gitlab-org/gitlab!23041
parents 020463f2 e4d3c39b
......@@ -18,7 +18,6 @@ describe('Changed file icon', () => {
showTooltip: true,
...props,
},
attachToDocument: true,
});
};
......
......@@ -9,7 +9,6 @@ describe('clipboard button', () => {
const createWrapper = propsData => {
wrapper = shallowMount(ClipboardButton, {
propsData,
attachToDocument: true,
});
};
......
......@@ -17,7 +17,6 @@ describe('Commit component', () => {
const createComponent = propsData => {
wrapper = shallowMount(CommitComponent, {
propsData,
attachToDocument: true,
});
};
......
......@@ -17,7 +17,6 @@ describe('IssueAssigneesComponent', () => {
assignees: mockAssigneesList,
...props,
},
attachToDocument: true,
});
vm = wrapper.vm; // eslint-disable-line
};
......
......@@ -13,7 +13,6 @@ const createComponent = (milestone = mockMilestone) => {
propsData: {
milestone,
},
attachToDocument: true,
});
};
......
......@@ -31,7 +31,6 @@ describe('RelatedIssuableItem', () => {
beforeEach(() => {
wrapper = mount(RelatedIssuableItem, {
slots,
attachToDocument: true,
propsData: props,
});
});
......
......@@ -12,7 +12,6 @@ describe('Markdown field header component', () => {
previewMarkdown: false,
...props,
},
attachToDocument: true,
});
};
......
......@@ -17,7 +17,6 @@ describe('Suggestion Diff component', () => {
...DEFAULT_PROPS,
...props,
},
attachToDocument: true,
});
};
......
......@@ -16,7 +16,6 @@ describe('modal copy button', () => {
text: 'copy me',
title: 'Copy this value',
},
attachToDocument: true,
});
});
......
......@@ -33,7 +33,6 @@ describe('system note component', () => {
vm = mount(IssueSystemNote, {
store,
propsData: props,
attachToDocument: true,
});
});
......
......@@ -26,7 +26,6 @@ describe('Pagination links component', () => {
list: [{ id: 'foo' }, { id: 'bar' }],
props,
},
attachToDocument: true,
});
[glPaginatedList] = wrapper.vm.$children;
......
......@@ -14,7 +14,6 @@ describe('Resizable Chart Container', () => {
beforeEach(() => {
wrapper = mount(ResizableChartContainer, {
attachToDocument: true,
scopedSlots: {
default: `
<div class="slot" slot-scope="{ width, height }">
......
......@@ -12,7 +12,6 @@ import {
const createComponent = (config = mockConfig) =>
shallowMount(BaseComponent, {
propsData: config,
attachToDocument: true,
});
describe('BaseComponent', () => {
......
......@@ -24,7 +24,6 @@ const createComponent = (
labelFilterBasePath,
enableScopedLabels: true,
},
attachToDocument: true,
});
};
......
......@@ -7,7 +7,6 @@ describe('Time ago with tooltip component', () => {
const buildVm = (propsData = {}) => {
vm = shallowMount(TimeAgoTooltip, {
attachToDocument: true,
propsData,
});
};
......
......@@ -26,7 +26,6 @@ describe('User Avatar Link Component', () => {
...defaultProps,
...props,
},
attachToDocument: true,
});
};
......
......@@ -59,7 +59,6 @@ describe('User Popover Component', () => {
status: null,
},
},
attachToDocument: true,
},
);
});
......
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