(index: number)
| 264 | |
| 265 | describe("observeRowElements", () => { |
| 266 | function createRowElement(index: number) { |
| 267 | const element = document.createElement("div"); |
| 268 | element.setAttribute(DATA_ATTRIBUTE_LIST_INDEX, "" + index); |
| 269 | return element; |
| 270 | } |
| 271 | |
| 272 | test("should update cache when an observed element is resized", () => { |
| 273 | const { result } = renderHook(() => |
no outgoing calls
no test coverage detected