Skip to content

Commit

Permalink
Add fake tests to check out node version
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Nov 12, 2022
1 parent d0634fd commit 0546571
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/components/DateFormatter/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import { buildDatetime } from '../../../../../internals/getBuildData'
*/
const NNBSP = '\u202F'

describe('node version', () => {
it('should be 18.12.0', () => expect(process.version).toEqual('v18.12.0'))
it('should be 18.12.1', () => expect(process.version).toEqual('v18.12.1'))
})

describe('intlDateTimeFormat', () => {
it('should format date to human readable format', () => {
expect(intlDateTimeFormat(1656932251000)).toEqual(`7/4/2022, 10:57:31${NNBSP}AM`)
Expand Down

0 comments on commit 0546571

Please sign in to comment.