diff --git a/src/test/calendar_test.test.tsx b/src/test/calendar_test.test.tsx index b595b10ea..5669aa6c6 100644 --- a/src/test/calendar_test.test.tsx +++ b/src/test/calendar_test.test.tsx @@ -449,12 +449,17 @@ describe("Calendar", () => { }); it("should not have previous month button when selecting a date in the second month, when min date is specified", () => { + const minDate = new Date("2024-11-06"); + const maxDate = new Date("2025-01-01"); + const selectedDate = minDate; + const { container } = render( , );