Commit 538c4df9 authored by Natalia Tepluhina's avatar Natalia Tepluhina

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

Remove useless attachToDocument usage in spec/frontend/diffs

Closes #196755

See merge request gitlab-org/gitlab!23049
parents a8a5c821 e3698253
...@@ -22,7 +22,6 @@ describe('CompareVersions', () => { ...@@ -22,7 +22,6 @@ describe('CompareVersions', () => {
store.state.diffs.diffFiles.push('test'); store.state.diffs.diffFiles.push('test');
wrapper = mount(CompareVersionsComponent, { wrapper = mount(CompareVersionsComponent, {
attachToDocument: true,
localVue, localVue,
store, store,
propsData: { propsData: {
......
...@@ -91,7 +91,6 @@ describe('DiffFileHeader component', () => { ...@@ -91,7 +91,6 @@ describe('DiffFileHeader component', () => {
}, },
localVue, localVue,
store, store,
attachToDocument: true,
}); });
}; };
......
...@@ -16,7 +16,6 @@ describe('DiffGutterAvatars', () => { ...@@ -16,7 +16,6 @@ describe('DiffGutterAvatars', () => {
propsData: { propsData: {
...props, ...props,
}, },
attachToDocument: true,
}); });
}; };
......
...@@ -9,7 +9,6 @@ describe('EditButton', () => { ...@@ -9,7 +9,6 @@ describe('EditButton', () => {
const createComponent = (props = {}) => { const createComponent = (props = {}) => {
wrapper = shallowMount(EditButton, { wrapper = shallowMount(EditButton, {
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