test: all flaky unit tests (#26558)

This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2026-01-07 17:53:19 +00:00
1 parent 2d19003e8a
commit f54a3d1d0c
3 files changed
+41 -1

No files matched your search

@@ -1,7 +1,22 @@
import { mockCrmApp } from "@calcom/web/test/utils/bookingScenario/bookingScenario";
import type { TFunction } from "i18next";
import { describe, expect, test, vi } from "vitest";
import { describe, expect, test, vi, afterEach } from "vitest";
vi.mock("@calcom/app-store/salesforce/lib/graphql/SalesforceGraphQLClient", () => ({
SalesforceGraphQLClient: vi.fn(),
}));
vi.mock("@calcom/app-store/salesforce/lib/CrmService", () => ({
default: vi.fn(),
}));
vi.mock("@urql/core", () => ({
Client: vi.fn(),
cacheExchange: vi.fn(),
fetchExchange: vi.fn(),
}));
vi.mock("@urql/exchange-retry", () => ({
retryExchange: vi.fn(),
}));
import { getCrm } from "@calcom/app-store/_utils/getCrm";