MCPcopy
hub / github.com/bvaughn/react-virtualized / assertVisibleCells

Function assertVisibleCells

source/Masonry/Masonry.jest.js:13–20  ·  view source on GitHub ↗
(rendered, text)

Source from the content-addressed store, hash-verified

11const COLUMN_COUNT = 3;
12
13function assertVisibleCells(rendered, text) {
14 expect(
15 Array.from(rendered.querySelectorAll('.cell'))
16 .map(node => node.textContent)
17 .sort()
18 .join(','),
19 ).toEqual(text);
20}
21
22function createCellMeasurerCache(props = {}) {
23 return new CellMeasurerCache({

Callers 1

Masonry.jest.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…