fix(tests): add missing vi.mock() to prevent vitest worker shutdown flake in InstantBookingCreateService (#28773)

Signed-off-by: Mendral Agent <support@mendral.com>
Co-authored-by: Mendral Agent <support@mendral.com>
This commit is contained in:
Mendral AIandMendral Agent authored and GitHub committed 2026-04-07 18:13:17 +00:00
1 parent facc0745d3
commit 54f36af943
1 file changed
+4
@@ -22,6 +22,10 @@ vi.mock("@calcom/features/notifications/sendNotification", () => ({
sendNotification: vi.fn(),
}));
vi.mock("@calcom/app-store/feishucalendar/lib/CalendarService", () => ({
default: class MockFeishuCalendarService {},
}));
vi.mock("@calcom/features/conferencing/lib/videoClient", () => ({
createInstantMeetingWithCalVideo: vi.fn().mockResolvedValue({
type: "daily_video",