()
| 175 | await userEvent.click(getCellsAtRowIndex(10)[23]); // last visible cell (1920/80) |
| 176 | const spy = vi.spyOn(window.HTMLElement.prototype, 'scrollIntoView'); |
| 177 | const testScrollIntoView = () => { |
| 178 | expect(spy).toHaveBeenCalled(); |
| 179 | spy.mockClear(); |
| 180 | }; |
| 181 | await navigate(3); |
| 182 | testScrollIntoView(); |
| 183 | await navigate(1); |