diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2017-12-07 20:44:46 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2017-12-07 20:44:46 +0000 |
commit | 4824c0ff10681126845931dc5efa01c734e1d853 (patch) | |
tree | 0c0bdde9a16a2d528d6ff0004f994f179684e686 /spec | |
parent | 7838317a14ddb686a16e914f9dbfb393a6bf5099 (diff) | |
parent | c4c06a33f91ca56b2c30b7521708c34089ed43f7 (diff) | |
download | gitlab-ce-4824c0ff10681126845931dc5efa01c734e1d853.tar.gz |
Merge branch 'fix-transient-datefix-spec' into 'master'
Fix transient error in pikadayToString
Closes #40858
See merge request gitlab-org/gitlab-ce!15754
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/lib/utils/datefix_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/lib/utils/datefix_spec.js b/spec/javascripts/lib/utils/datefix_spec.js index e58ac4300ba..a9f3abcf2a4 100644 --- a/spec/javascripts/lib/utils/datefix_spec.js +++ b/spec/javascripts/lib/utils/datefix_spec.js @@ -21,7 +21,7 @@ describe('datefix', () => { describe('pikadayToString', () => { 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'); }); }); }); |