(actualCell: string, expectedCell: string)
| 1121 | export function expectTableToMatchContent(tableElement: Element, expected: string[][]) { |
| 1122 | const missedExpectations: string[] = []; |
| 1123 | function checkCellContent(actualCell: string, expectedCell: string) { |
| 1124 | if (actualCell !== expectedCell) { |
| 1125 | missedExpectations.push(`Expected cell contents to be ${expectedCell} but was ${actualCell}`); |
| 1126 | } |
| 1127 | } |
| 1128 | |
| 1129 | const actual = getActualTableContent(tableElement); |
| 1130 |
no test coverage detected