(data: ScreenshotDiffResult, useColor: boolean)
| 389 | } |
| 390 | |
| 391 | function formatScreenshotDiffHintLines(data: ScreenshotDiffResult, useColor: boolean): string[] { |
| 392 | const hints = formatScreenshotDiffHints(data); |
| 393 | if (hints.length === 0) return []; |
| 394 | return [` ${formatMuted('Hints:', useColor)}`, ...hints.map((hint) => ` - ${hint}`)]; |
| 395 | } |
| 396 | |
| 397 | function formatScreenshotDiffRegionLines(data: ScreenshotDiffResult, useColor: boolean): string[] { |
| 398 | const regions = Array.isArray(data.regions) ? data.regions : []; |
no test coverage detected
searching dependent graphs…