Commit f41ab869 authored by Michel Engelen's avatar Michel Engelen Committed by Michel Engelen

prettified noteable_discussion spec file

parent 6f7c27ce
...@@ -91,9 +91,9 @@ describe('noteable_discussion component', () => { ...@@ -91,9 +91,9 @@ describe('noteable_discussion component', () => {
}); });
it('does not render jump to thread button', () => { it('does not render jump to thread button', () => {
expect( expect(wrapper.find('*[data-original-title="Jump to next unresolved thread"]').exists()).toBe(
wrapper.find('*[data-original-title="Jump to next unresolved thread"]').exists(), false,
).toBe(false); );
}); });
}); });
...@@ -114,9 +114,7 @@ describe('noteable_discussion component', () => { ...@@ -114,9 +114,7 @@ describe('noteable_discussion component', () => {
const nextDiscussionId = discussion2.id; const nextDiscussionId = discussion2.id;
setFixtures( setFixtures(`<div class="discussion" data-discussion-id="${nextDiscussionId}"></div>`);
`<div class="discussion" data-discussion-id="${nextDiscussionId}"></div>`,
);
wrapper.vm.jumpToNextDiscussion(); wrapper.vm.jumpToNextDiscussion();
......
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