Scheduling infrastructure for absolutely everyone.
fix: mock salesforce graphql queries to prevent flaky test failures (#26688)
Keith Williamsd9b49b2c41ec
diff --git a/packages/testing/src/setupVitest.ts b/packages/testing/src/setupVitest.tsindex 1c2e7d8e597..350556b26e3 100644--- a/packages/testing/src/setupVitest.ts+++ b/packages/testing/src/setupVitest.ts@@ -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: {},+ }));+}