Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
8bb58fa5
Commit
8bb58fa5
authored
Jun 28, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed eslint
parent
47fe2a52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
spec/javascripts/ide/stores/actions/file_spec.js
spec/javascripts/ide/stores/actions/file_spec.js
+2
-13
No files found.
spec/javascripts/ide/stores/actions/file_spec.js
View file @
8bb58fa5
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment