()
| 489 | } |
| 490 | |
| 491 | function listRunLogFiles(): Array<string> { |
| 492 | if (!existsSync(LOG_DIR)) return [] |
| 493 | return readdirSync(LOG_DIR) |
| 494 | .filter( |
| 495 | (name) => name.endsWith('.json') && !name.startsWith('results-summary-'), |
| 496 | ) |
| 497 | .map((name) => join(LOG_DIR, name)) |
| 498 | } |
| 499 | |
| 500 | function readRunLog(path: string): RunLogPayload | null { |
| 501 | try { |
no outgoing calls
no test coverage detected