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
686b23d1
Commit
686b23d1
authored
Mar 09, 2020
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flaky spec caused by time-dependent snapshot
parent
8568e12b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ee/spec/frontend/analytics/code_review_analytics/components/__snapshots__/merge_request_table_spec.js.snap
...components/__snapshots__/merge_request_table_spec.js.snap
+1
-1
ee/spec/frontend/analytics/code_review_analytics/components/merge_request_table_spec.js
...e_review_analytics/components/merge_request_table_spec.js
+2
-0
No files found.
ee/spec/frontend/analytics/code_review_analytics/components/__snapshots__/merge_request_table_spec.js.snap
View file @
686b23d1
...
...
@@ -117,7 +117,7 @@ exports[`MergeRequestTable component template matches the snapshot 1`] = `
</li>
<li>
opened
1 month ago
opened
just now
</li>
<li>
...
...
ee/spec/frontend/analytics/code_review_analytics/components/merge_request_table_spec.js
View file @
686b23d1
...
...
@@ -59,6 +59,8 @@ describe('MergeRequestTable component', () => {
describe
(
'
template
'
,
()
=>
{
beforeEach
(()
=>
{
jest
.
spyOn
(
global
,
'
Date
'
).
mockImplementationOnce
(()
=>
new
Date
(
'
2020-03-09T11:01:58.135Z
'
));
bootstrap
({
mergeRequests
});
});
...
...
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