MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / createTestContext

Function createTestContext

src/core/__tests__/resources.test.ts:24–31  ·  view source on GitHub ↗
(overrides: Partial<PredicateContext> = {})

Source from the content-addressed store, hash-verified

22import { importResourceModule } from '../manifest/import-resource-module.ts';
23
24function createTestContext(overrides: Partial<PredicateContext> = {}): PredicateContext {
25 return {
26 runtime: 'mcp',
27 config: {} as ResolvedRuntimeConfig,
28 runningUnderXcode: false,
29 ...overrides,
30 };
31}
32
33const mockHandler = vi.fn(async () => ({ contents: [{ text: 'mock' }] }));
34

Callers 1

resources.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected