import { vi } from "vitest"; const featuresRepositoryModuleMock = { FeaturesRepository: vi.fn().mockImplementation(() => ({ checkIfFeatureIsEnabledGlobally: vi.fn().mockResolvedValue(true), })), }; vi.mock("@calcom/features/flags/features.repository", () => featuresRepositoryModuleMock);