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
Jérome Perrin
gitlab-ce
Commits
32498cd7
Commit
32498cd7
authored
May 25, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed mutations spec
parent
af42fa23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/assets/javascripts/ide/stores/modules/pipelines/actions.js
...ssets/javascripts/ide/stores/modules/pipelines/actions.js
+2
-2
spec/javascripts/ide/stores/modules/pipelines/mutations_spec.js
...avascripts/ide/stores/modules/pipelines/mutations_spec.js
+2
-0
No files found.
app/assets/javascripts/ide/stores/modules/pipelines/actions.js
View file @
32498cd7
...
...
@@ -9,8 +9,8 @@ import * as types from './mutation_types';
let
eTagPoll
;
export
const
clearEtagPoll
=
()
=>
(
eTagPoll
=
null
);
export
const
stopPipelinePolling
=
()
=>
eTagPoll
.
stop
();
export
const
restartPipelinePolling
=
()
=>
eTagPoll
.
restart
();
export
const
stopPipelinePolling
=
()
=>
eTagPoll
&&
eTagPoll
.
stop
();
export
const
restartPipelinePolling
=
()
=>
eTagPoll
&&
eTagPoll
.
restart
();
export
const
requestLatestPipeline
=
({
commit
})
=>
commit
(
types
.
REQUEST_LATEST_PIPELINE
);
export
const
receiveLatestPipelineError
=
({
commit
,
dispatch
})
=>
{
...
...
spec/javascripts/ide/stores/modules/pipelines/mutations_spec.js
View file @
32498cd7
...
...
@@ -66,6 +66,7 @@ describe('IDE pipelines mutations', () => {
expect
(
mockedState
.
stages
).
toEqual
([
{
...
stages
[
0
],
dropdownPath
:
stages
[
0
].
dropdownPath
,
id
:
0
,
isCollapsed
:
false
,
isLoading
:
false
,
...
...
@@ -73,6 +74,7 @@ describe('IDE pipelines mutations', () => {
},
{
...
stages
[
1
],
dropdownPath
:
stages
[
1
].
dropdownPath
,
id
:
1
,
isCollapsed
:
false
,
isLoading
:
false
,
...
...
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