diff options
Diffstat (limited to 'spec/javascripts/notes/components/noteable_discussion_spec.js')
-rw-r--r-- | spec/javascripts/notes/components/noteable_discussion_spec.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/javascripts/notes/components/noteable_discussion_spec.js b/spec/javascripts/notes/components/noteable_discussion_spec.js index f51a2594de5..c98366dd54f 100644 --- a/spec/javascripts/notes/components/noteable_discussion_spec.js +++ b/spec/javascripts/notes/components/noteable_discussion_spec.js @@ -91,9 +91,9 @@ describe('noteable_discussion component', () => { }); it('does not render jump to thread button', () => { - expect( - wrapper.find('*[data-original-title="Jump to next unresolved thread"]').exists(), - ).toBe(false); + expect(wrapper.find('*[data-original-title="Jump to next unresolved thread"]').exists()).toBe( + false, + ); }); }); @@ -114,9 +114,7 @@ describe('noteable_discussion component', () => { const nextDiscussionId = discussion2.id; - setFixtures( - `<div class="discussion" data-discussion-id="${nextDiscussionId}"></div>`, - ); + setFixtures(`<div class="discussion" data-discussion-id="${nextDiscussionId}"></div>`); wrapper.vm.jumpToNextDiscussion(); |