| 1 | /** |
| 2 | * Test-only helpers for components scrolled by a scroll element (their `scrollElement` prop): a scrollable container, or the window. |
| 3 | * |
| 4 | * jsdom has no layout (every `getBoundingClientRect()` is all zeros), so these helpers install a minimal layout model: |