first commit
This commit is contained in:
13
calcom/tests/libs/__mocks__/CalendarManager.ts
Normal file
13
calcom/tests/libs/__mocks__/CalendarManager.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { beforeEach, vi } from "vitest";
|
||||
import { mockReset, mockDeep } from "vitest-mock-extended";
|
||||
|
||||
import type * as CalendarManager from "@calcom/core/CalendarManager";
|
||||
|
||||
vi.mock("@calcom/core/CalendarManager", () => CalendarManagerMock);
|
||||
|
||||
beforeEach(() => {
|
||||
mockReset(CalendarManagerMock);
|
||||
});
|
||||
|
||||
const CalendarManagerMock = mockDeep<typeof CalendarManager>();
|
||||
export default CalendarManagerMock;
|
||||
Reference in New Issue
Block a user