v1.2.2
🐞 Bug Fixes
- coverage:
- Remove
coverage/.tmp
files after run - by @AriPerkkio in #5008 (d53b8) - Don't crash when re-run removes earlier run's reports - by @AriPerkkio in #5022 (66898)
- Remove
- expect:
- forks:
- Set correct
VITEST_POOL_ID
- by @AriPerkkio in #5002 (7d0a4)
- Set correct
- threads:
- Mention common work-around for the logged error - by @AriPerkkio in #5024 (915d6)
- typecheck:
- vite-node:
- Provide import.meta.filename and dirname - by @sheremet-va in #5011 (73148)
- vitest:
- Expose getHooks & setHooks - by @adriencaccia in #5032 (73448)
- Test deep dependencies change detection - by @blake-newman in #4934 (9c7c0)
- Throw an error if vi.mock is exported - by @sheremet-va in #5034 (253df)
- Allow
useFakeTimers
to fakerequestIdleCallback
on non browser - by @hi-ogawa in #5028 (a9a48) - Support older NodeJS with async
import.meta.resolve
- by @AriPerkkio in #5045 (cf564) - Don't throw an error if mocked file was already imported - by @sheremet-va in #5050 (fff1a)