(y: number)
| 3 | import { scroll } from './constants'; |
| 4 | |
| 5 | const scrollTo = (y: number) => { |
| 6 | Object.defineProperty(window, 'scrollY', { configurable: true, value: y }); |
| 7 | window.dispatchEvent(new Event('scroll')); |
| 8 | }; |
| 9 | |
| 10 | describe('useShellScroll', () => { |
| 11 | beforeEach(() => { |
no outgoing calls
no test coverage detected