summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-28 17:31:59 +0100
committerPhil Hughes <me@iamphill.com>2018-06-29 09:29:31 +0100
commit8bb58fa53345c24621bc060012dafa4a3d3d0f2f (patch)
treebb96637886dc93b6cab76894cebdd8c4759f4559
parent47fe2a5248d4b391084908f685bcc42ee3e8d24d (diff)
downloadgitlab-ce-8bb58fa53345c24621bc060012dafa4a3d3d0f2f.tar.gz
fixed eslint
-rw-r--r--spec/javascripts/ide/stores/actions/file_spec.js15
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)