From 01da76da74c6baaa8ccab28452d9c1f48d975ac6 Mon Sep 17 00:00:00 2001 From: Michel Engelen Date: Fri, 14 Jun 2019 14:17:02 +0200 Subject: prettified noteable_discussion spec file --- spec/javascripts/notes/components/noteable_discussion_spec.js | 10 ++++------ 1 file 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( - `
`, - ); + setFixtures(`
`); wrapper.vm.jumpToNextDiscussion(); -- cgit v1.2.1