mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-11 10:03:51 +00:00
Added tests for new ordering helper functions and updated changelog
This commit is contained in:
@@ -34,7 +34,7 @@ describe('date', () => {
|
||||
});
|
||||
|
||||
describe('isBetween', () => {
|
||||
test.each([
|
||||
it.each([
|
||||
[ now, undefined, undefined, true ],
|
||||
[ now, subDays(now, 1), undefined, true ],
|
||||
[ now, now, undefined, true ],
|
||||
@@ -52,7 +52,7 @@ describe('date', () => {
|
||||
});
|
||||
|
||||
describe('isBeforeOrEqual', () => {
|
||||
test.each([
|
||||
it.each([
|
||||
[ now, now, true ],
|
||||
[ now, addDays(now, 1), true ],
|
||||
[ now, subDays(now, 1), false ],
|
||||
|
||||
Reference in New Issue
Block a user