()
| 164 | |
| 165 | test("should render dynamic height rows in normal document flow", () => { |
| 166 | function DynamicList() { |
| 167 | const rowHeight = useDynamicRowHeight({ defaultRowHeight: 25 }); |
| 168 | |
| 169 | return ( |
| 170 | <List |
| 171 | defaultHeight={100} |
| 172 | overscanCount={0} |
| 173 | rowComponent={RowComponent} |
| 174 | rowCount={100} |
| 175 | rowHeight={rowHeight} |
| 176 | rowProps={EMPTY_OBJECT} |
| 177 | /> |
| 178 | ); |
| 179 | } |
| 180 | |
| 181 | const html = renderToString(<DynamicList />); |
| 182 |
nothing calls this directly
no test coverage detected