Commit f61daee3 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch...

Merge branch '209739-broken-master-mergerequesttable-snapshot-depends-on-date-comparison' into 'master'

Broken master: MergeRequestTable snapshot depends on date comparison

Closes #209739

See merge request gitlab-org/gitlab!26750
parents a2ee997a 686b23d1
......@@ -117,7 +117,7 @@ exports[`MergeRequestTable component template matches the snapshot 1`] = `
</li>
<li>
opened 1 month ago
opened just now
</li>
<li>
......
......@@ -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 });
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment