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

Function checkCellContent

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

Source from the content-addressed store, hash-verified

3596export function expectTableToMatchContent(tableElement: Element, expected: any[]) {
3597 const missedExpectations: string[] = [];
3598 function checkCellContent(actualCell: string, expectedCell: string) {
3599 if (actualCell !== expectedCell) {
3600 missedExpectations.push(`Expected cell contents to be ${expectedCell} but was ${actualCell}`);
3601 }
3602 }
3603
3604 const actual = getActualTableContent(tableElement);
3605

Callers 1

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected