(label: string, diffs: RowDiff[])
| 123 | const structuralDiffs: StructuralDiff[] = [] |
| 124 | |
| 125 | function addDiffs(label: string, diffs: RowDiff[]) { |
| 126 | for (const diff of diffs) { |
| 127 | structuralDiffs.push({ |
| 128 | source: label, |
| 129 | row: diff.row, |
| 130 | expected: diff.expected, |
| 131 | actual: diff.actual, |
| 132 | }) |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | const frontVsTmux = compareRows(frontRows, tmuxVisibleRows) |
| 137 | addDiffs('tmux_vs_front', frontVsTmux) |
no outgoing calls
no test coverage detected