Fix date test (I think)

This commit is contained in:
Matt Kilgore
2024-12-26 11:19:43 -05:00
committed by GitHub
parent a935c7d0dd
commit 68cad395b8

View File

@@ -31,7 +31,7 @@ describe("factorRange", () => {
// End should be 10 days from now
expect(end).toBeInstanceOf(Date);
expect(end.getFullYear()).toBe(new Date().getFullYear());
expect(end.getFullYear()).toBe(new Date().setDate(new Date().getDate() + 10).getFullYear());
});
});