digestweb.dev
Propose a News Source
Support usSponsor
🤝
Curated byFRSOURCE

digestweb.dev

Your essential dose of webdev and AI news, handpicked.

Advertisement

Want to reach web developers daily?

Advertise with us ↗

Back to Daily Feed

Vitest v5.1.0 Unleashes Powerful New Testing & Debugging Features

Must Read

Originally published on Vitest Releases

View Original Article
Share this article:
Vitest v5.1.0 Unleashes Powerful New Testing & Debugging Features

Summary & Key Takeaways ​

  • New --last-failed and --since-last-run flags streamline test execution.
  • vi.setSystemTime() now supports Temporal.Instant and Temporal.ZonedDateTime.
  • Per-retry/repeat attempt results are now exposed for more granular control.
  • Fake timers have expanded support for node:timers and node:timers/promise.
  • Developers can now interactively review failed snapshots directly.
  • Browser module mocking is improved with import map support.
  • The trace view is out of experimental, with new timeline and failure-only modes.
  • An experimental pointer API and aria snapshot capture enhance UI testing.
  • Coverage providers can now store data in the file system module cache.

Our Commentary ​

Vitest just keeps getting better, doesn't it? The --last-failed and --since-last-run flags are absolute game-changers for iterative development. I'm also really excited about the interactive snapshot review; that's going to save so much time. It feels like they're really listening to what developers need for a smoother, faster testing workflow. This release is packed.

View Original Article
Share this article:
RSS Atom JSON Feed
© 2026 digestweb.dev — brought to you by  FRSOURCE