Commit 9f5bf29e authored by Mike Greiling's avatar Mike Greiling

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

Remove useless attachToDocument usage in ee/spec/frontend

Closes #196754

See merge request gitlab-org/gitlab!23173
parents ce06f5a2 c55fa903
...@@ -26,7 +26,6 @@ describe('Panel Type', () => { ...@@ -26,7 +26,6 @@ describe('Panel Type', () => {
propsData, propsData,
store, store,
localVue, localVue,
attachToDocument: true,
}); });
}; };
......
...@@ -13,7 +13,6 @@ describe('noteActions', () => { ...@@ -13,7 +13,6 @@ describe('noteActions', () => {
shallowMount(noteActions, { shallowMount(noteActions, {
store, store,
propsData, propsData,
attachToDocument: true,
}); });
beforeEach(() => { beforeEach(() => {
......
...@@ -12,7 +12,6 @@ describe('project header component', () => { ...@@ -12,7 +12,6 @@ describe('project header component', () => {
propsData: { propsData: {
project: mockOneProject, project: mockOneProject,
}, },
attachToDocument: true,
}); });
}; };
......
...@@ -35,7 +35,6 @@ describe('PackagesApp', () => { ...@@ -35,7 +35,6 @@ describe('PackagesApp', () => {
wrapper = mount(PackagesApp, { wrapper = mount(PackagesApp, {
propsData, propsData,
attachToDocument: true,
}); });
} }
......
...@@ -30,7 +30,6 @@ const createComponent = ({ slots } = {}) => { ...@@ -30,7 +30,6 @@ const createComponent = ({ slots } = {}) => {
store.dispatch('setChildrenCount', mockParentItem.descendantCounts); store.dispatch('setChildrenCount', mockParentItem.descendantCounts);
return shallowMount(RelatedItemsTreeHeader, { return shallowMount(RelatedItemsTreeHeader, {
attachToDocument: true,
store, store,
slots, slots,
}); });
......
...@@ -45,7 +45,6 @@ const createComponent = (parentItem = mockParentItem, item = mockItem) => { ...@@ -45,7 +45,6 @@ const createComponent = (parentItem = mockParentItem, item = mockItem) => {
}); });
return shallowMount(TreeItemBody, { return shallowMount(TreeItemBody, {
attachToDocument: true,
store, store,
propsData: { propsData: {
parentItem, parentItem,
......
...@@ -14,7 +14,6 @@ describe('EE MRWidget approvals summary optional', () => { ...@@ -14,7 +14,6 @@ describe('EE MRWidget approvals summary optional', () => {
const createComponent = (props = {}) => { const createComponent = (props = {}) => {
wrapper = shallowMount(ApprovalsSummaryOptional, { wrapper = shallowMount(ApprovalsSummaryOptional, {
propsData: props, propsData: props,
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