()
| 11 | import type { XcodebuildPipeline } from '../xcodebuild-pipeline.ts'; |
| 12 | |
| 13 | function createMockPipeline(): XcodebuildPipeline { |
| 14 | return { |
| 15 | onStdout: vi.fn(), |
| 16 | onStderr: vi.fn(), |
| 17 | emitEvent: vi.fn(), |
| 18 | finalize: vi.fn().mockReturnValue({ state: {}, mcpContent: [], events: [] }), |
| 19 | highestStageRank: vi.fn().mockReturnValue(0), |
| 20 | xcresultPath: null, |
| 21 | logPath: '/mock/log/path', |
| 22 | } as unknown as XcodebuildPipeline; |
| 23 | } |
| 24 | |
| 25 | describe('build-utils Sentry Classification', () => { |
| 26 | afterEach(() => { |