diff options
author | Michel Engelen <michel.engelen@diva-e.com> | 2019-06-14 14:17:02 +0200 |
---|---|---|
committer | Michel Engelen <michel.engelen@diva-e.com> | 2019-06-14 14:17:02 +0200 |
commit | 01da76da74c6baaa8ccab28452d9c1f48d975ac6 (patch) | |
tree | 5e4306d9a3c77d6aff82bbc0d5347c45fa52268a | |
parent | 3c760560fa0ac47a1d755a81386095b4da05c9fc (diff) | |
download | gitlab-ce-01da76da74c6baaa8ccab28452d9c1f48d975ac6.tar.gz |
prettified noteable_discussion spec file
-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(); |