14 lines
478 B
TypeScript
14 lines
478 B
TypeScript
import { beforeEach, vi } from "vitest";
|
|
import { mockReset, mockDeep } from "vitest-mock-extended";
|
|
|
|
import type * as reminderScheduler from "@calcom/features/ee/workflows/lib/reminders/reminderScheduler";
|
|
|
|
vi.mock("@calcom/features/ee/workflows/lib/reminders/reminderScheduler", () => reminderSchedulerMock);
|
|
|
|
beforeEach(() => {
|
|
mockReset(reminderSchedulerMock);
|
|
});
|
|
|
|
const reminderSchedulerMock = mockDeep<typeof reminderScheduler>();
|
|
export default reminderSchedulerMock;
|