diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-18 19:00:14 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-18 19:00:14 +0000 |
commit | 05f0ebba3a2c8ddf39e436f412dc2ab5bf1353b2 (patch) | |
tree | 11d0f2a6ec31c7793c184106cedc2ded3d9a2cc5 /spec/frontend/lib/utils/datetime/date_format_utility_spec.js | |
parent | ec73467c23693d0db63a797d10194da9e72a74af (diff) | |
download | gitlab-ce-15.8.0-rc42.tar.gz |
Add latest changes from gitlab-org/gitlab@15-8-stable-eev15.8.0-rc42
Diffstat (limited to 'spec/frontend/lib/utils/datetime/date_format_utility_spec.js')
-rw-r--r-- | spec/frontend/lib/utils/datetime/date_format_utility_spec.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/spec/frontend/lib/utils/datetime/date_format_utility_spec.js b/spec/frontend/lib/utils/datetime/date_format_utility_spec.js index 2e0bb6a8dcd..a83b0ed9fbe 100644 --- a/spec/frontend/lib/utils/datetime/date_format_utility_spec.js +++ b/spec/frontend/lib/utils/datetime/date_format_utility_spec.js @@ -149,17 +149,17 @@ describe('durationTimeFormatted', () => { describe('formatUtcOffset', () => { it.each` offset | expected - ${-32400} | ${'- 9'} - ${'-12600'} | ${'- 3.5'} - ${0} | ${'0'} - ${'10800'} | ${'+ 3'} - ${19800} | ${'+ 5.5'} - ${0} | ${'0'} - ${[]} | ${'0'} - ${{}} | ${'0'} - ${true} | ${'0'} - ${null} | ${'0'} - ${undefined} | ${'0'} + ${-32400} | ${'-9'} + ${'-12600'} | ${'-3.5'} + ${0} | ${' 0'} + ${'10800'} | ${'+3'} + ${19800} | ${'+5.5'} + ${0} | ${' 0'} + ${[]} | ${' 0'} + ${{}} | ${' 0'} + ${true} | ${' 0'} + ${null} | ${' 0'} + ${undefined} | ${' 0'} `('returns $expected given $offset', ({ offset, expected }) => { expect(utils.formatUtcOffset(offset)).toEqual(expected); }); |