(result, name)
| 521 | } |
| 522 | |
| 523 | function performanceMetricValue(result, name) { |
| 524 | const metric = result.metrics?.find((entry) => entry.name === name) |
| 525 | return typeof metric?.value === 'number' ? metric.value : 0 |
| 526 | } |
| 527 | |
| 528 | function summarizePerformanceMetrics(result) { |
| 529 | return { |
no outgoing calls
no test coverage detected