mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-13 16:34:44 +00:00
8 lines
253 B
TypeScript
8 lines
253 B
TypeScript
import { contributionDateFormatter } from '@test/helpers'
|
|
|
|
describe('contributionDateFormatter', () => {
|
|
it('formats the date correctly', () => {
|
|
expect(contributionDateFormatter(new Date('Thu Feb 29 2024 13:12:11'))).toEqual('2/29/2024')
|
|
})
|
|
})
|