test: all flaky unit tests (#26558)
This commit is contained in:
1 parent
2d19003e8a
commit
f54a3d1d0c
3 files changed
+41
-1
No files matched your search
@@ -74,6 +74,13 @@ vi.mock("@calcom/lib/logger", () => ({
|
||||
})),
|
||||
},
|
||||
}));
|
||||
// Mock routing-forms modules to prevent async import issues during test teardown
|
||||
vi.mock("@calcom/features/routing-forms/lib/findFieldValueByIdentifier", () => ({
|
||||
findFieldValueByIdentifier: vi.fn(),
|
||||
}));
|
||||
vi.mock("@calcom/app-store/routing-forms/lib/findFieldValueByIdentifier", () => ({
|
||||
findFieldValueByIdentifier: vi.fn(),
|
||||
}));
|
||||
|
||||
import { getBooking } from "@calcom/features/bookings/lib/payment/getBooking";
|
||||
import getWebhooks from "@calcom/features/webhooks/lib/getWebhooks";
|
||||
|
||||
Reference in new issue
Block a user