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

Function checkCellContent

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

Source from the content-addressed store, hash-verified

3473export function expectTableToMatchContent(tableElement: Element, expected: any[]) {
3474 const missedExpectations: string[] = [];
3475 function checkCellContent(actualCell: string, expectedCell: string) {
3476 if (actualCell !== expectedCell) {
3477 missedExpectations.push(`Expected cell contents to be ${expectedCell} but was ${actualCell}`);
3478 }
3479 }
3480
3481 const actual = getActualTableContent(tableElement);
3482

Callers 1

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected