Skip to content

Commit

Permalink
style: add spaces around infix operator (iamkun#1340)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans-Joachim Daniels committed Jan 23, 2021
1 parent fd97671 commit 0170f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/plugin/timezone.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ describe('Convert', () => {
const jun = _('2014-06-01T12:00:00Z')
const dec = _('2014-12-01T12:00:00Z')
expect(jun.tz('America/Los_Angeles').format('ha')).toBe('5am')
expect(jun.tz('America/Los_Angeles').utcOffset()).toBe(-7*60)
expect(jun.tz('America/Los_Angeles').utcOffset()).toBe(-7 * 60)
expect(dec.tz('America/Los_Angeles').format('ha')).toBe('4am')
expect(dec.tz('America/Los_Angeles').utcOffset()).toBe(-8*60)
expect(dec.tz('America/Los_Angeles').utcOffset()).toBe(-8 * 60)
expect(jun.tz(NY).format('ha')).toBe('8am')
expect(dec.tz(NY).format('ha')).toBe('7am')
expect(jun.tz(TOKYO).format('ha')).toBe('9pm')
Expand Down

0 comments on commit 0170f24

Please sign in to comment.