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

fixed eslint

parent 47fe2a52
......@@ -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)
......
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