diff options
Diffstat (limited to 'spec/frontend/task_list_spec.js')
-rw-r--r-- | spec/frontend/task_list_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/task_list_spec.js b/spec/frontend/task_list_spec.js index 1261833e3ec..a8bdc506102 100644 --- a/spec/frontend/task_list_spec.js +++ b/spec/frontend/task_list_spec.js @@ -93,7 +93,7 @@ describe('TaskList', () => { }); describe('update', () => { - it('should disable task list items and make a patch request then enable them again', done => { + it('should disable task list items and make a patch request then enable them again', (done) => { const response = { data: { lock_version: 3 } }; jest.spyOn(taskList, 'enableTaskListItems').mockImplementation(() => {}); jest.spyOn(taskList, 'disableTaskListItems').mockImplementation(() => {}); @@ -137,7 +137,7 @@ describe('TaskList', () => { }); }); - it('should handle request error and enable task list items', done => { + it('should handle request error and enable task list items', (done) => { const response = { data: { error: 1 } }; jest.spyOn(taskList, 'enableTaskListItems').mockImplementation(() => {}); jest.spyOn(taskList, 'onError').mockImplementation(() => {}); |