Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
normalizeRepetition,
|
||||
normalizeTimezone,
|
||||
parseCalendarEvent,
|
||||
} from "@/features/Events/eventUtils";
|
||||
} from "@/features/Events/utils";
|
||||
|
||||
describe("parseCalendarEvent", () => {
|
||||
const baseColor = { light: "#00FF00" };
|
||||
|
||||
Reference in New Issue
Block a user