()
| 3 | import { createInnerGridRef } from "./createInnerGridRef"; |
| 4 | |
| 5 | function createGrid() { |
| 6 | return { |
| 7 | invalidateCellSizeAfterRender: vi.fn(), |
| 8 | recomputeGridSize: vi.fn() |
| 9 | } as unknown as GridImperativeAPI & { |
| 10 | invalidateCellSizeAfterRender: ReturnType<typeof vi.fn>; |
| 11 | recomputeGridSize: ReturnType<typeof vi.fn>; |
| 12 | }; |
| 13 | } |
| 14 | |
| 15 | describe("createInnerGridRef", () => { |
| 16 | it("should forward calls once the Grid's ref has been attached", () => { |
no outgoing calls
no test coverage detected