This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe('date-diff', () => { | |
| it('Should check if no date diff results shown for comparing exact same dates', () => { | |
| const date0 = new Date('2020-11-01T01:00:00'); | |
| const date1 = new Date('2020-11-01T01:00:00'); | |
| const expectedResult = { | |
| millennium: 0, | |
| century: 0, | |
| decade: 0, | |
| year: 0, | |
| quarter: 0, |
OlderNewer