Files
calendar/tests/libs/__mocks__/CalendarManager.ts
T
Keith WilliamsandGitHub 7180eb067a refactor: Move @calcom/core to @calcom/lib (#19655)
* refactor: Move @calcom/core to @calcom/lib

* Merging imports

* Clean up

* Ignoreing type error for now
2025-03-02 23:02:35 -03:00

14 lines
398 B
TypeScript

import { beforeEach, vi } from "vitest";
import { mockReset, mockDeep } from "vitest-mock-extended";
import type * as CalendarManager from "@calcom/lib/CalendarManager";
vi.mock("@calcom/lib/CalendarManager", () => CalendarManagerMock);
beforeEach(() => {
mockReset(CalendarManagerMock);
});
const CalendarManagerMock = mockDeep<typeof CalendarManager>();
export default CalendarManagerMock;