Skip to content

Commit 82a2dd2

Browse files
committed
Put back time variable
1 parent 955ac08 commit 82a2dd2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/parseZonedTime.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ it('recognizes noon', () => {
7272

7373
it('format parser caching code works', () => {
7474
parseZonedTime('2018', 'YYYY')
75+
const time = parseZonedTime('2018', 'YYYY')
7576
expect(typeof time === 'object').toBeTruthy()
7677
const { year } = time
7778
expect(year).toEqual(2018)

0 commit comments

Comments
 (0)