(preflight: TestPreflightResult)
| 493 | } |
| 494 | |
| 495 | export function formatTestSelectionSummary(preflight: TestPreflightResult): string | undefined { |
| 496 | if ( |
| 497 | preflight.selectors.onlyTesting.length === 0 && |
| 498 | preflight.selectors.skipTesting.length === 0 |
| 499 | ) { |
| 500 | return undefined; |
| 501 | } |
| 502 | |
| 503 | const lines = [ |
| 504 | ' Selective Testing:', |
| 505 | ...preflight.selectors.onlyTesting.map((selector) => ` ${selector.raw}`), |
| 506 | ...preflight.selectors.skipTesting.map((selector) => ` Skip Testing: ${selector.raw}`), |
| 507 | ]; |
| 508 | |
| 509 | return lines.join('\n'); |
| 510 | } |
| 511 | |
| 512 | export function formatTestDiscovery( |
| 513 | preflight: TestPreflightResult, |
no outgoing calls
no test coverage detected