Back to Daily Feed 
Vitest v5.1.1 Released with Cache Features & Bug Fixes
Originally published on Vitest Releases
View Original Article
Share this article:
Summary & Key Takeaways
- Vitest v5.1.1 introduces new environment variables for fs module caching.
- It fixes issues with rerunning tests on file changes after config restarts.
- Improvements were made to prevent context leaks in
expectcalls. - The release enhances diffs for asymmetric matchers.
- It addresses problems with applying
--shardbefore test runs. - Fixture teardown errors are now reported only once.
- Timeout errors now throw specific error classes instead of generic
Errorobjects.
Our Commentary
Vitest continues its steady march of improvements. The fs module cache variables are a nice touch for performance, and the bug fixes, especially around reruns and expect context, are crucial for a stable testing experience. It's the kind of release that makes your daily dev life just a little bit smoother, even if it's not headline-grabbing.
View Original Article
Share this article: