MCPcopy Create free account
hub / github.com/angular/components / checkCellContent

Function checkCellContent

src/material/table/table.spec.ts:1117–1121  ·  view source on GitHub ↗
(actualCell: string, expectedCell: string)

Source from the content-addressed store, hash-verified

1115export 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

Callers 1

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected