Commit 8bb58fa5 authored by Phil Hughes's avatar Phil Hughes

fixed eslint

parent 47fe2a52
...@@ -293,14 +293,7 @@ describe('IDE store file actions', () => { ...@@ -293,14 +293,7 @@ describe('IDE store file actions', () => {
const dispatch = jasmine.createSpy('dispatch'); const dispatch = jasmine.createSpy('dispatch');
actions actions
.getFileData( .getFileData({ state: store.state, commit() {}, dispatch }, { path: localFile.path })
{
state: store.state,
commit() {},
dispatch,
},
{ path: localFile.path },
)
.then(() => { .then(() => {
expect(dispatch).toHaveBeenCalledWith('setErrorMessage', { expect(dispatch).toHaveBeenCalledWith('setErrorMessage', {
text: 'An error occured whilst loading the file.', text: 'An error occured whilst loading the file.',
...@@ -383,11 +376,7 @@ describe('IDE store file actions', () => { ...@@ -383,11 +376,7 @@ describe('IDE store file actions', () => {
actions actions
.getRawFileData( .getRawFileData(
{ { state: store.state, commit() {}, dispatch },
state: store.state,
commit() {},
dispatch,
},
{ path: tmpFile.path, baseSha: tmpFile.baseSha }, { path: tmpFile.path, baseSha: tmpFile.baseSha },
) )
.then(done.fail) .then(done.fail)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment