MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / createMockClient

Function createMockClient

cli/src/utils/__tests__/analytics-client.test.ts:28–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27 // Create mock client factory
28 function createMockClient(): AnalyticsClientWithIdentify {
29 return {
30 capture: captureMock,
31 identify: identifyMock,
32 alias: aliasMock,
33 flush: flushMock,
34 captureException: captureExceptionMock,
35 }
36 }
37
38 // Create test dependencies with production-like config
39 function createTestDeps(): AnalyticsDeps {

Callers 1

createTestDepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected