( pipeline: ReturnType<typeof createDomainStreamingPipeline>['pipeline'], )
| 36 | } from './xcodebuild-domain-results.ts'; |
| 37 | |
| 38 | function emitXcresultFailures( |
| 39 | pipeline: ReturnType<typeof createDomainStreamingPipeline>['pipeline'], |
| 40 | ): void { |
| 41 | const xcresultPath = pipeline.xcresultPath; |
| 42 | if (xcresultPath) { |
| 43 | const failures = extractTestFailuresFromXcresult(xcresultPath); |
| 44 | for (const event of failures) { |
| 45 | pipeline.emitFragment(event); |
| 46 | } |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | function getBuildTarget(platform: XcodePlatform): BuildTarget { |
| 51 | if (String(platform).includes('Simulator')) { |
no test coverage detected