(delta, deltaPct)
| 703 | } |
| 704 | |
| 705 | function formatDelta(delta, deltaPct) { |
| 706 | if (delta === null || delta === undefined) return "n/a"; |
| 707 | const sign = delta >= 0 ? "+" : ""; |
| 708 | const pct = formatPercent(deltaPct); |
| 709 | return `${sign}${Number(delta).toFixed(6)} (${pct})`; |
| 710 | } |
| 711 | |
| 712 | function formatThreshold(threshold) { |
| 713 | if (!threshold) return "n/a"; |
no test coverage detected