Scheduling infrastructure for absolutely everyone.
fix(tests): add missing vi.mock() to prevent vitest worker shutdown flake in InstantBookingCreateService (#28773)
Mendral AI54f36af94339
diff --git a/packages/features/bookings/lib/service/InstantBookingCreateService.test.ts b/packages/features/bookings/lib/service/InstantBookingCreateService.test.tsindex 25d6a2606e0..ca29d2b1b8a 100644--- a/packages/features/bookings/lib/service/InstantBookingCreateService.test.ts+++ b/packages/features/bookings/lib/service/InstantBookingCreateService.test.ts@@ -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",