import { usageStatsClientMock } from './usage_stats_client.mock' ; import type { UsageStatsServiceSetup } from './usage_stats_service' ; const createSetupContractMock = ( usageStatsClient = usageStatsClientMock . create ( ) ) => { const setupContract = { getClient : jest . fn ( ) . mockReturnValue ( usageStatsClient ) , } ; return setupContract ; } ; export const usageStatsServiceMock = { createSetupContract : createSetupContractMock , } ;