summaryrefslogtreecommitdiff
path: root/spec/frontend/notes/components
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-06 06:08:07 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-06 06:08:07 +0000
commit13076511c60f62ce0f8baba22ca9b94755a7d3cb (patch)
tree6dc1c5fd488f09989286639d9ae153ee5daf31f2 /spec/frontend/notes/components
parentf4d0e0d9c53abb196ee627a0a6bfbe353ea61435 (diff)
downloadgitlab-ce-13076511c60f62ce0f8baba22ca9b94755a7d3cb.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/notes/components')
-rw-r--r--spec/frontend/notes/components/discussion_notes_replies_wrapper_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/notes/components/discussion_notes_replies_wrapper_spec.js b/spec/frontend/notes/components/discussion_notes_replies_wrapper_spec.js
index 279ca017b44..0d6720e26e1 100644
--- a/spec/frontend/notes/components/discussion_notes_replies_wrapper_spec.js
+++ b/spec/frontend/notes/components/discussion_notes_replies_wrapper_spec.js
@@ -30,7 +30,7 @@ describe('DiscussionNotesRepliesWrapper', () => {
});
it('renders children directly', () => {
- expect(wrapper.html()).toEqual(`<ul>${TEST_CHILDREN}</ul>`);
+ expect(wrapper.element.outerHTML).toEqual(`<ul>${TEST_CHILDREN}</ul>`);
});
});
@@ -45,7 +45,7 @@ describe('DiscussionNotesRepliesWrapper', () => {
const notes = wrapper.find('li.discussion-collapsible ul.notes');
expect(notes.exists()).toBe(true);
- expect(notes.html()).toEqual(`<ul class="notes">${TEST_CHILDREN}</ul>`);
+ expect(notes.element.outerHTML).toEqual(`<ul class="notes">${TEST_CHILDREN}</ul>`);
});
});
});