diff --git a/packages/features/calendars/__tests__/NoAvailabilityDialog.test.tsx b/packages/features/calendars/__tests__/NoAvailabilityDialog.test.tsx index 4d047d7708..c1f80923f2 100644 --- a/packages/features/calendars/__tests__/NoAvailabilityDialog.test.tsx +++ b/packages/features/calendars/__tests__/NoAvailabilityDialog.test.tsx @@ -95,7 +95,7 @@ describe("NoAvailabilityOverlay", () => { expect(defaultProps.nextMonthButton).toHaveBeenCalled(); }); - test("Displays 'View next month' and close buttons, without description, when browsing current date with rolling 30-day period", () => { + test("Displays 'View next month' and close buttons, without description, when browsing current date with rolling 32-day period", () => { render( { periodData={{ ...defaultProps.periodData, periodType: "ROLLING", - periodDays: 30, + // 32 days means that next month would atleast have 1 day available, so future limit violation isn't there and no description is shown + periodDays: 32, }} /> );