(index: number)
| 119 | |
| 120 | describe("observeRowElements", () => { |
| 121 | function createRowElement(index: number) { |
| 122 | const element = document.createElement("div"); |
| 123 | element.setAttribute(DATA_ATTRIBUTE_LIST_INDEX, "" + index); |
| 124 | return element; |
| 125 | } |
| 126 | |
| 127 | test("should update cache when an observed element is resized", () => { |
| 128 | const { result } = renderHook(() => |
no outgoing calls
no test coverage detected
searching dependent graphs…