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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
20285cf3
Commit
20285cf3
authored
Mar 30, 2020
by
Ryan Cobb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prettier actions spec
parent
35b2cd44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec/frontend/monitoring/store/actions_spec.js
spec/frontend/monitoring/store/actions_spec.js
+5
-5
No files found.
spec/frontend/monitoring/store/actions_spec.js
View file @
20285cf3
...
...
@@ -561,9 +561,9 @@ describe('Monitoring store actions', () => {
const
expectedParams
=
{
start_time
:
'
2019-08-06T12:40:02.184Z
'
,
end_time
:
'
2019-08-06T20:40:02.184Z
'
,
step
:
60
step
:
60
,
};
it
(
'
uses calculated step
'
,
done
=>
{
mock
.
onGet
(
'
http://test
'
).
reply
(
200
,
{
data
});
// One attempt
...
...
@@ -603,9 +603,9 @@ describe('Monitoring store actions', () => {
const
expectedParams
=
{
start_time
:
'
2019-08-06T12:40:02.184Z
'
,
end_time
:
'
2019-08-06T20:40:02.184Z
'
,
step
:
10
step
:
10
,
};
it
(
'
uses metric step
'
,
done
=>
{
mock
.
onGet
(
'
http://test
'
).
reply
(
200
,
{
data
});
// One attempt
...
...
@@ -634,8 +634,8 @@ describe('Monitoring store actions', () => {
done
();
},
).
catch
(
done
.
fail
);
});
});
});
it
(
'
commits result, when waiting for results
'
,
done
=>
{
// Mock multiple attempts while the cache is filling up
...
...
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