Skip to content

Commit

Permalink
Fix test file
Browse files Browse the repository at this point in the history
  • Loading branch information
meduzen committed Apr 27, 2024
1 parent 4ad9d3d commit bab5999
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/temporal-same-features/timezone.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { describe, expect, test } from 'vitest'
import { tzOffset } from './index.js'
import { Temporal } from '@js-temporal/polyfill'

Check failure on line 3 in src/temporal-same-features/timezone.test.js

View workflow job for this annotation

GitHub Actions / build (20)

'Temporal' is defined but never used

const tzOffsetInMinutes = (new Date()).getTimezoneOffset() * -1

Expand Down Expand Up @@ -133,3 +134,6 @@ describe('tzOffset', () => {

test('tzOffset(62.75, 0, true) is -09:15', () => {
expect(tzOffset(62.75, 0, true)).toBe('-09:15')
})
})
})

0 comments on commit bab5999

Please sign in to comment.