diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2017-12-05 22:40:42 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-12-05 22:40:42 +0000 |
commit | c4c06a33f91ca56b2c30b7521708c34089ed43f7 (patch) | |
tree | d2aef17fe5e2bb3a59b1c8179ef16a8ec3a355fc /spec | |
parent | 4475212a100d6546f8e1ef667c4af82c541a4c19 (diff) | |
download | gitlab-ce-c4c06a33f91ca56b2c30b7521708c34089ed43f7.tar.gz |
Fix transient error in pikadayToStringfix-transient-datefix-spec
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'); }); }); }); |