Skip to content

Commit

Permalink
correct whitespace indentation in new test
Browse files Browse the repository at this point in the history
  • Loading branch information
bcurtin144 authored Jan 2, 2021
1 parent cfcf088 commit a02327a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/parse.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ describe('REGEX_PARSE', () => {
expect(d.join('-')).toBe('2019-03-25T06:41:00.999999999-2019-03-25-06-41-00-999999999')
})
it('20210102T012345', () => {
const date = '20210102T012345'
const d = date.match(REGEX_PARSE)
expect(dayjs(date).valueOf()).toBe(moment(date).valueOf())
expect(d.join('-')).toBe('20210102T012345-2021-01-02-01-23-45-')
const date = '20210102T012345'
const d = date.match(REGEX_PARSE)
expect(dayjs(date).valueOf()).toBe(moment(date).valueOf())
expect(d.join('-')).toBe('20210102T012345-2021-01-02-01-23-45-')
})
it('2021-01-02T01:23', () => {
const date = '2021-01-02T01:23'
Expand Down

0 comments on commit a02327a

Please sign in to comment.