Skip to content

Commit

Permalink
Add comment about failing test in 2081
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenichols committed Jan 8, 2025
1 parent 97d400a commit d11d641
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/__tests__/expiration-year.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ describe("expirationYear", () => {
{ isValid: false, isPotentiallyValid: true, isCurrentYear: false },
],
[
// When this test case fails in 2081 (because 21 will become a valid
// year prefix) you can just switch isPotentiallyValid to true and
// delete this comment.
"21",
{ isValid: false, isPotentiallyValid: false, isCurrentYear: false },
],
Expand Down

0 comments on commit d11d641

Please sign in to comment.