Back to Daily Feed 
Vitest v5.0.0-beta.5 Previews Major Changes and New Features
Must Read
Originally published on Vitest Releases
View Original Article
Share this article:
Summary & Key Takeaways
- Breaking changes include not looking up config files from ancestor directories and inlining the
@vitest/runnerpackage. - The
happy-dom/jsdomwindow object can now be mutated. - New features for the browser UI include displaying nested mark traces.
- A
--repeatsCLI option has been added for running tests multiple times. - Coverage thresholds can now be automatically updated with previous values as arguments.
- Several bug fixes address issues with mixed stdout/stderr logs, importOriginal, and transform time calculations.
- Browser testing improvements include waiting for orchestrator readiness and encoding iframe IDs.
Our Commentary
Vitest moving towards v5 is exciting, especially with the browser UI improvements. Breaking changes are always a bit of a pain, but they often pave the way for better architecture. I'm particularly interested in how the happy-dom/jsdom window mutation will impact testing strategies. It feels like Vitest is maturing rapidly, solidifying its position as a strong alternative in the JS testing landscape.
View Original Article
Share this article: