(actualCell: string, expectedCell: string)
| 1115 | export function expectTableToMatchContent(tableElement: Element, expected: string[][]) { |
| 1116 | const missedExpectations: string[] = []; |
| 1117 | function checkCellContent(actualCell: string, expectedCell: string) { |
| 1118 | if (actualCell !== expectedCell) { |
| 1119 | missedExpectations.push(`Expected cell contents to be ${expectedCell} but was ${actualCell}`); |
| 1120 | } |
| 1121 | } |
| 1122 | |
| 1123 | const actual = getActualTableContent(tableElement); |
| 1124 |
no test coverage detected