fix: mock salesforce graphql queries to prevent flaky test failures (#26688)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Devin AI
parent
728f55e4bc
commit
d9b49b2c41
@@ -161,3 +161,9 @@ vi.mock("@calcom/app-store/payment.services.generated", () => ({
|
||||
"mock-payment-app": Promise.resolve({ PaymentService: MockPaymentService }),
|
||||
},
|
||||
}));
|
||||
|
||||
if (!process.env.INTEGRATION_TESTS) {
|
||||
vi.mock("@calcom/app-store/salesforce/lib/graphql/documents/queries", () => ({
|
||||
GetAccountRecordsForRRSkip: {},
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user