(index: number)
| 135 | |
| 136 | describe("observeRowElements", () => { |
| 137 | function createRowElement(index: number) { |
| 138 | const element = document.createElement("div"); |
| 139 | element.setAttribute(DATA_ATTRIBUTE_LIST_INDEX, "" + index); |
| 140 | return element; |
| 141 | } |
| 142 | |
| 143 | test("should update cache when an observed element is resized", () => { |
| 144 | const { result } = renderHook(() => |
no outgoing calls
no test coverage detected