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

Function checkCellContent

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected