(position: number)
| 64 | }; |
| 65 | |
| 66 | const scrollUserTo = (position: number) => { |
| 67 | setScrollY(position); |
| 68 | window.dispatchEvent(new Event('scroll')); |
| 69 | }; |
| 70 | |
| 71 | // One rAF tick, driven by the fake timers backing requestAnimationFrame. |
| 72 | const advanceFrames = (count = 1) => |
no test coverage detected