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

Function checkCellContent

src/cdk/table/table.spec.ts:3541–3545  ·  view source on GitHub ↗
(actualCell: string, expectedCell: string)

Source from the content-addressed store, hash-verified

3539export function expectTableToMatchContent(tableElement: Element, expected: any[]) {
3540 const missedExpectations: string[] = [];
3541 function checkCellContent(actualCell: string, expectedCell: string) {
3542 if (actualCell !== expectedCell) {
3543 missedExpectations.push(`Expected cell contents to be ${expectedCell} but was ${actualCell}`);
3544 }
3545 }
3546
3547 const actual = getActualTableContent(tableElement);
3548

Callers 1

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected