MCPcopy
hub / github.com/Comcast/react-data-grid / assertRows

Function assertRows

test/browser/virtualization.test.ts:70–72  ·  view source on GitHub ↗
(count: number, startIdx: number, endIdx: number)

Source from the content-addressed store, hash-verified

68}
69
70function assertRows(count: number, startIdx: number, endIdx: number) {
71 assertElements(getRows(), 'aria-rowindex', count, startIdx + 2, endIdx + 2);
72}
73
74function assertRowIndexes(indexes: number[]) {
75 assertIndexes(getRows(), indexes, 'aria-rowindex', 2);

Callers 1

Calls 2

getRowsFunction · 0.90
assertElementsFunction · 0.85

Tested by

no test coverage detected