Commit c55fa903 authored by Illya Klymov's avatar Illya Klymov

Remove useless attachToDocument property

attachToDocument property is not needed
parent 4ac2a641
...@@ -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,
}); });
}; };
......
...@@ -32,7 +32,6 @@ describe('PackagesApp', () => { ...@@ -32,7 +32,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