diff options
Diffstat (limited to 'spec/javascripts/notes/components')
-rw-r--r-- | spec/javascripts/notes/components/comment_form_spec.js | 4 | ||||
-rw-r--r-- | spec/javascripts/notes/components/noteable_discussion_spec.js | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/spec/javascripts/notes/components/comment_form_spec.js b/spec/javascripts/notes/components/comment_form_spec.js index 2b7f550d266..3c57fe51352 100644 --- a/spec/javascripts/notes/components/comment_form_spec.js +++ b/spec/javascripts/notes/components/comment_form_spec.js @@ -79,12 +79,12 @@ describe('issue_comment_form component', () => { Vue.nextTick() .then(() => { - expect(actionButton.disabled).toBeTruthy(); + expect(actionButton.disabled).toBeTruthy(); }) .then(saveNotePromise) .then(Vue.nextTick) .then(() => { - expect(actionButton.disabled).toBeFalsy(); + expect(actionButton.disabled).toBeFalsy(); }) .then(done) .catch(done.fail); diff --git a/spec/javascripts/notes/components/noteable_discussion_spec.js b/spec/javascripts/notes/components/noteable_discussion_spec.js index 7c8ee69a984..b447e79b0df 100644 --- a/spec/javascripts/notes/components/noteable_discussion_spec.js +++ b/spec/javascripts/notes/components/noteable_discussion_spec.js @@ -138,9 +138,7 @@ describe('noteable_discussion component', () => { it('should return first note object for placeholder note', () => { const data = { isPlaceholderNote: true, - notes: [ - { body: 'hello world!' }, - ], + notes: [{ body: 'hello world!' }], }; const note = vm.componentData(data); @@ -150,9 +148,7 @@ describe('noteable_discussion component', () => { it('should return given note for nonplaceholder notes', () => { const data = { - notes: [ - { id: 12 }, - ], + notes: [{ id: 12 }], }; const note = vm.componentData(data); |