diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-27 00:06:23 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-27 00:06:23 +0000 |
commit | bd8a202da68db8c61150d52e246997f04c329110 (patch) | |
tree | 27231f7ecf92696b90712510ea408fb7d1b6366b /spec/javascripts/notes/components/noteable_discussion_spec.js | |
parent | 59a349817c0869e8e0d750884b34256ca4faefca (diff) | |
download | gitlab-ce-bd8a202da68db8c61150d52e246997f04c329110.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/javascripts/notes/components/noteable_discussion_spec.js')
-rw-r--r-- | spec/javascripts/notes/components/noteable_discussion_spec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/javascripts/notes/components/noteable_discussion_spec.js b/spec/javascripts/notes/components/noteable_discussion_spec.js index ea1ed3da112..5e359759afc 100644 --- a/spec/javascripts/notes/components/noteable_discussion_spec.js +++ b/spec/javascripts/notes/components/noteable_discussion_spec.js @@ -10,6 +10,8 @@ import mockDiffFile from '../../diffs/mock_data/diff_file'; const discussionWithTwoUnresolvedNotes = 'merge_requests/resolved_diff_discussion.json'; +const localVue = createLocalVue(); + describe('noteable_discussion component', () => { let store; let wrapper; @@ -22,8 +24,7 @@ describe('noteable_discussion component', () => { store.dispatch('setNoteableData', noteableDataMock); store.dispatch('setNotesData', notesDataMock); - const localVue = createLocalVue(); - wrapper = mount(noteableDiscussion, { + wrapper = mount(localVue.extend(noteableDiscussion), { store, propsData: { discussion: discussionMock }, localVue, |