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

Function createManifestFixture

src/utils/__tests__/tool-registry.test.ts:45–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43} from '../tool-registry.ts';
44
45function createManifestFixture(): ResolvedManifest {
46 return {
47 tools: new Map([
48 [
49 'build_run_sim',
50 {
51 id: 'build_run_sim',
52 module: 'mcp/tools/simulator/build_run_sim',
53 names: { mcp: 'build_run_sim' },
54 availability: { mcp: true, cli: true },
55 predicates: [],
56 nextSteps: [],
57 },
58 ],
59 [
60 'screenshot',
61 {
62 id: 'screenshot',
63 module: 'mcp/tools/ui-automation/screenshot',
64 names: { mcp: 'screenshot' },
65 availability: { mcp: true, cli: true },
66 predicates: [],
67 nextSteps: [],
68 },
69 ],
70 ]),
71 workflows: new Map([
72 [
73 'simulator',
74 {
75 id: 'simulator',
76 title: 'Simulator',
77 description: 'Built-in simulator workflow',
78 targetPlatforms: ['iOS'],
79 availability: { mcp: true, cli: true },
80 selection: { mcp: { defaultEnabled: true, autoInclude: false } },
81 predicates: [],
82 tools: ['build_run_sim'],
83 },
84 ],
85 ]),
86 resources: new Map(),
87 };
88}
89
90function createToolModule() {
91 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected