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

Function createPredicateContext

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

Source from the content-addressed store, hash-verified

95}
96
97function createPredicateContext(): PredicateContext {
98 return {
99 runtime: 'mcp',
100 config: {
101 enabledWorkflows: [],
102 customWorkflows: {},
103 debug: false,
104 sentryDisabled: false,
105 experimentalWorkflowDiscovery: false,
106 disableSessionDefaults: false,
107 disableXcodeAutoSync: false,
108 showTestTiming: false,
109 uiDebuggerGuardMode: 'error',
110 incrementalBuildsEnabled: false,
111 dapRequestTimeoutMs: 30_000,
112 dapLogEvents: false,
113 launchJsonWaitMs: 8000,
114 debuggerBackend: 'dap',
115 },
116 runningUnderXcode: false,
117 };
118}
119
120describe('createCustomWorkflowsFromConfig', () => {
121 it('creates custom workflows and resolves tool IDs', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected