MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / createMockManifest

Function createMockManifest

src/core/__tests__/resources.test.ts:35–41  ·  view source on GitHub ↗
(resources: ResourceManifestEntry[])

Source from the content-addressed store, hash-verified

33const mockHandler = vi.fn(async () => ({ contents: [{ text: 'mock' }] }));
34
35function createMockManifest(resources: ResourceManifestEntry[]): ResolvedManifest {
36 return {
37 tools: new Map(),
38 workflows: new Map(),
39 resources: new Map(resources.map((r) => [r.id, r])),
40 };
41}
42
43const simulatorsResource: ResourceManifestEntry = {
44 id: 'simulators',

Callers 1

resources.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected