Vitest v1.2.2stable Released Jan 26, 2024
Impact Score: 5/10

Vitest v1.2.2 โ€” Release Notes & Engineering Impact

Source available โ€” automated, not human-reviewed

Component: vitest ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-01.

Compatibility not verified โ€” check source notes
๐Ÿ“„ .MD
โšก Executive Summary (TL;DR)

Vitest v1.2.2. Source highlight:    ๐Ÿž Bug Fixes

Who Does This Impact? (Role-Based Analysis)

๐Ÿ’ป Software Engineers & Devs

Check the source notes against the package and APIs you use before upgrading.

๐Ÿ“Š Product & Engineering Leads

Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.

โš™๏ธ DevOps & Security

Verify the target version, runtime requirements and rollback procedure in the official documentation.

๐Ÿ”ง Bug Fixes & Patches (6)

  • Remove `coverage/.tmp` files after run &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 <samp>(d53b8)</samp>
  • Don't crash when re-run removes earlier run's reports &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5022 <samp>(66898)</samp>
  • Improve `toThrow(asymmetricMatcher)` failure message &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 <samp>(a199a)</samp>
  • Set correct `VITEST_POOL_ID` &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 <samp>(7d0a4)</samp>
  • Mention common work-around for the logged error &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5024 <samp>(915d6)</samp>
  • Fix `ignoreSourceErrors` in run mode &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 <samp>(6dae3)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks &nbsp;-&nbsp; by @adriencaccia in https://github.com/vitest-dev/vitest/issues/5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection &nbsp;-&nbsp; by @blake-newman in https://github.com/vitest-dev/vitest/issues/4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)