Or equal to

This commit is contained in:
Eric Bailey
2024-06-18 10:08:30 -05:00
parent 953b246571
commit 86ebc38505
+1 -1
View File
@@ -96,7 +96,7 @@ describe('dateDiff', () => {
expect(dateDiff(then, base, {lingui})).toEqual('11mo')
})
it(`values >= 360 days return the earlier value`, () => {
const then = subDays(base, 361)
const then = subDays(base, 360)
expect(dateDiff(then, base, {lingui})).toEqual(then.toLocaleDateString())
})
})