(fragment: DomainFragment)
| 52 | type RunStateEvent = Parameters<XcodebuildRunStateHandle['push']>[0]; |
| 53 | |
| 54 | function isRunStateFragment(fragment: DomainFragment): fragment is RunStateEvent { |
| 55 | switch (fragment.fragment) { |
| 56 | case 'build-stage': |
| 57 | case 'compiler-diagnostic': |
| 58 | case 'test-discovery': |
| 59 | case 'test-progress': |
| 60 | case 'test-failure': |
| 61 | case 'test-case-result': |
| 62 | return true; |
| 63 | default: |
| 64 | return false; |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | function buildHeaderParams( |
| 69 | params: Record<string, unknown>, |
no outgoing calls
no test coverage detected