Commit a8a5c821 authored by Kushal Pandya's avatar Kushal Pandya

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

Remove useless attachToDocument usage in spec/frontend/notes

Closes #196759

See merge request gitlab-org/gitlab!23045
parents cb1c4029 11750a69
...@@ -37,7 +37,6 @@ describe('issue_comment_form component', () => { ...@@ -37,7 +37,6 @@ describe('issue_comment_form component', () => {
noteableType, noteableType,
}, },
store, store,
attachToDocument: true,
}); });
}; };
......
...@@ -5,9 +5,7 @@ describe('JumpToNextDiscussionButton', () => { ...@@ -5,9 +5,7 @@ describe('JumpToNextDiscussionButton', () => {
let wrapper; let wrapper;
beforeEach(() => { beforeEach(() => {
wrapper = shallowMount(JumpToNextDiscussionButton, { wrapper = shallowMount(JumpToNextDiscussionButton);
attachToDocument: true,
});
}); });
afterEach(() => { afterEach(() => {
......
...@@ -31,7 +31,6 @@ describe('DiscussionNotes', () => { ...@@ -31,7 +31,6 @@ describe('DiscussionNotes', () => {
slots: { slots: {
'avatar-badge': '<span class="avatar-badge-slot-content" />', 'avatar-badge': '<span class="avatar-badge-slot-content" />',
}, },
attachToDocument: true,
}); });
}; };
......
...@@ -59,7 +59,6 @@ describe('note_app', () => { ...@@ -59,7 +59,6 @@ describe('note_app', () => {
</div>`, </div>`,
}, },
{ {
attachToDocument: true,
propsData, propsData,
store, store,
}, },
......
...@@ -21,7 +21,6 @@ describe('NoteEditedText', () => { ...@@ -21,7 +21,6 @@ describe('NoteEditedText', () => {
beforeEach(() => { beforeEach(() => {
wrapper = shallowMount(NoteEditedText, { wrapper = shallowMount(NoteEditedText, {
propsData, propsData,
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