[refactor] preparation for PR adressing #638 (#644)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2026-03-17 09:32:27 +01:00
committed by GitHub
parent 8da9505e01
commit a9e7b1ac82
24 changed files with 646 additions and 595 deletions
@@ -15,8 +15,6 @@ import {
getEventAsync,
getTempCalendarsListAsync,
patchACLCalendarAsync,
patchCalendarAsync,
removeCalendarAsync,
} from "@/features/Calendars/services";
import { CalendarEvent } from "@/features/Events/EventsTypes";
import * as userAPI from "@/features/User/userAPI";
@@ -26,7 +24,7 @@ import { configureStore } from "@reduxjs/toolkit";
jest.mock("@/features/Calendars/CalendarApi");
jest.mock("@/features/User/userAPI");
jest.mock("@/features/Events/EventApi");
jest.mock("@/features/Events/eventUtils");
jest.mock("@/features/Events/utils");
jest.mock("@/utils/apiUtils");
describe("CalendarSlice", () => {
+1 -1
View File
@@ -7,7 +7,7 @@ import {
searchEvent,
} from "@/features/Events/EventApi";
import { CalendarEvent } from "@/features/Events/EventsTypes";
import { calendarEventToJCal } from "@/features/Events/eventUtils";
import { calendarEventToJCal } from "@/features/Events/utils";
import { clientConfig } from "@/features/User/oidcAuth";
import { api } from "@/utils/apiUtils";
+1 -1
View File
@@ -8,7 +8,7 @@ import {
normalizeRepetition,
normalizeTimezone,
parseCalendarEvent,
} from "@/features/Events/eventUtils";
} from "@/features/Events/utils";
describe("parseCalendarEvent", () => {
const baseColor = { light: "#00FF00" };