Skip to content

Commit

Permalink
Merge pull request Expensify#45651 from Expensify/francois-fix-broken…
Browse files Browse the repository at this point in the history
…-test

Fix broken unit test that depends on date
  • Loading branch information
srikarparsi authored Jul 18, 2024
2 parents d739580 + 576ee24 commit 909f8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/ValidationUtilsTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('ValidationUtils', () => {
});

test('Should return false for a date after the range', () => {
const futureDate = '3024-07-18';
const futureDate = '3042-07-18';
const isValid = ValidationUtils.isValidDate(futureDate);
expect(isValid).toBe(false);
});
Expand Down

0 comments on commit 909f8ea

Please sign in to comment.