Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

vitest.setup.ts

6 lines115 Bytes

1import { vi } from 'vitest'
2​
3// @ts-expect-error
4global.IS_REACT_ACT_ENVIRONMENT = true
5​
6window.scrollTo = vi.fn()