(command)
| 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({ |
nothing calls this directly
no test coverage detected