diff options
-rw-r--r-- | spec/javascripts/ide/stores/actions/file_spec.js | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/spec/javascripts/ide/stores/actions/file_spec.js b/spec/javascripts/ide/stores/actions/file_spec.js index 0dd3f7b5374..58d3ffc6d94 100644 --- a/spec/javascripts/ide/stores/actions/file_spec.js +++ b/spec/javascripts/ide/stores/actions/file_spec.js @@ -293,14 +293,7 @@ describe('IDE store file actions', () => { const dispatch = jasmine.createSpy('dispatch'); actions - .getFileData( - { - state: store.state, - commit() {}, - dispatch, - }, - { path: localFile.path }, - ) + .getFileData({ state: store.state, commit() {}, dispatch }, { path: localFile.path }) .then(() => { expect(dispatch).toHaveBeenCalledWith('setErrorMessage', { text: 'An error occured whilst loading the file.', @@ -383,11 +376,7 @@ describe('IDE store file actions', () => { actions .getRawFileData( - { - state: store.state, - commit() {}, - dispatch, - }, + { state: store.state, commit() {}, dispatch }, { path: tmpFile.path, baseSha: tmpFile.baseSha }, ) .then(done.fail) |