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

Function failingExecutor

src/cli/commands/__tests__/setup.test.ts:515–525  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

513
514 it('fails fast when Xcode command line tools are unavailable', async () => {
515 const failingExecutor: CommandExecutor = async (command) => {
516 if (command[0] === 'xcodebuild') {
517 return createMockCommandResponse({
518 success: false,
519 output: '',
520 error: 'xcodebuild: command not found',
521 });
522 }
523
524 return createMockCommandResponse({ success: true, output: '' });
525 };
526
527 await expect(
528 runSetupWizard({

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected