Merge branch 'fix-transient-datefix-spec' into 'master'
Fix transient error in pikadayToString Closes #40858 See merge request gitlab-org/gitlab-ce!15754
This commit is contained in:
commit
4824c0ff10
|
@ -21,7 +21,7 @@ describe('datefix', () => {
|
||||||
|
|
||||||
describe('pikadayToString', () => {
|
describe('pikadayToString', () => {
|
||||||
it('should format a UTC date into yyyy-mm-dd format', () => {
|
it('should format a UTC date into yyyy-mm-dd format', () => {
|
||||||
expect(pikadayToString(new Date('2020-01-29'))).toEqual('2020-01-29');
|
expect(pikadayToString(new Date('2020-01-29:00:00'))).toEqual('2020-01-29');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue