Vitest v5.0.0

v5.0.0
Added 1
  • Add screenshotDirectory config to browser.expect.toMatchScreenshot
Changed 15
  • Replace loupe.inspect with pretty-format
  • Remove quotes from string values in test.for/each title $ variable
  • Change default attachmentsDir from .vitest-attachements/ to .vitest/attachments/
  • Represent locator as an object instead of a string
  • Inline expect package
  • Require Node.js 22 and Vite 6.4
Removed 4
  • Remove sequential test/suite options in favor of concurrent
  • Remove deprecated entry points
  • Inline @vitest/runner package and do not publish it anymore
  • Remove webdriverio package

From Vitest

Vitest 5 is officially out! This release focuses on performance and brings a lot of new features while fixing long-standing bugs. See our blog post for the official announcement.

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub
View original

Upgraded? How did it go?

Discussion