summaryrefslogtreecommitdiff
path: root/spec/frontend/lib/utils/datetime/date_format_utility_spec.js
diff options
context:
space:
mode:
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.js22
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);
});