From 4e31b2666c27e446057f8b8ae6209dae9d3f9e10 Mon Sep 17 00:00:00 2001 From: Camille Moussu Date: Fri, 22 Aug 2025 10:52:37 +0200 Subject: [PATCH] [#4] fixed test --- __test__/components/CalendarSelection.test.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/__test__/components/CalendarSelection.test.tsx b/__test__/components/CalendarSelection.test.tsx index 5ba982b..4326fde 100644 --- a/__test__/components/CalendarSelection.test.tsx +++ b/__test__/components/CalendarSelection.test.tsx @@ -127,9 +127,9 @@ describe("CalendarSelection", () => { }, }; renderWithProviders(, preloadedState); - expect(screen.getByText("personnalCalendars")).toBeInTheDocument(); - expect(screen.getByText("delegatedCalendars")).toBeInTheDocument(); - expect(screen.getByText("sharedCalendars")).toBeInTheDocument(); + expect(screen.getByText("Personnal Calendars")).toBeInTheDocument(); + expect(screen.getByText("Delegated Calendars")).toBeInTheDocument(); + expect(screen.getByText("Shared Calendars")).toBeInTheDocument(); expect(screen.getByLabelText("Calendar personnal")).toBeInTheDocument(); expect(screen.getByLabelText("Calendar delegated")).toBeInTheDocument(); @@ -184,9 +184,9 @@ describe("CalendarSelection", () => { }, }; renderWithProviders(, preloadedState); - expect(screen.getByText("personnalCalendars")).toBeInTheDocument(); - expect(screen.queryByText("delegatedCalendars")).not.toBeInTheDocument(); - expect(screen.queryByText("sharedCalendars")).not.toBeInTheDocument(); + expect(screen.getByText("Personnal Calendars")).toBeInTheDocument(); + expect(screen.queryByText("Delegated Calendars")).not.toBeInTheDocument(); + expect(screen.queryByText("Shared Calendars")).not.toBeInTheDocument(); expect(screen.getByLabelText("Calendar personnal")).toBeInTheDocument(); });