Vitest
@vitest.dev
📤 6038
📥 76
📝 71
Next generation testing framework powered by
@vite.dev
⚡️
https://vitest.dev
pinned post!
Vitest 4 is out! - Browser Mode is Stable - Visual Regression Testing - Improved Debugging - Pool Stabilization - New APIs - Bug Fixes Stay updated with our blog post:
vitest.dev/blog/vitest-4
loading . . .
Announcing Vitest 4.0
Vitest 4.0 Release Announcement
https://vitest.dev/blog/vitest-4
7 months ago
3
266
66
reposted by
Vitest
Younes Jaaidi
6 days ago
🫡 Bye `fakeAsync`, thanks for your service. ✨ Angular 22 will ship an option to migrate `fakeAsync` to
@vitest.dev
fake timers 🗑️ No more Zone.js patching just because of `fakeAsync` 🙏 Thanks to Andrew Scott and Charles Lyding for welcoming the idea and for the feedback
github.com/angular/angu...
loading . . .
feat(@schematics/angular): add option to migrate `fakeAsync` to Vitest fake timers by yjaaidi · Pull Request #33111 · angular/angular-cli
PR Checklist Please check to confirm your PR fulfills the following requirements: The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-com...
https://github.com/angular/angular-cli/pull/33111
1
19
3
reposted by
Vitest
VoidZero
7 days ago
Tales from the Void: April 2026 is out! ✨ This month at VoidZero: ◇ Our approach to supply chain security & trusted publishing ◇ A new Oxc-based Angular Compiler that is up 20x faster ◇ Vite+ `lazyPlugin` to reduce slowdowns ◇
@vitest.dev
Browser Mode trace viewer ◇
@rolldown.rs
module tags
loading . . .
Tales from the Void: April 2026 Recap
Our April 2026 recap covers VoidZero's approach to supply chain security and trusted publishing, an Oxc-based Angular Compiler 6.4x faster than the Angular CLI, Vite+ lazyPlugin, a new Vitest trace…
https://voidzero.dev/posts/whats-new-apr-2026
1
48
5
reposted by
Vitest
Vladimir
8 days ago
@vitest.dev
is going framework agnostic, and we need your feedback!
loading . . .
[Proposal] Framework-Agnostic Vitest · vitest-dev vitest · Discussion #10271
Vitest's tight coupling with Vite has historically been one of its greatest strengths: instant HMR, a unified config, and a shared plugin ecosystem made it the natural choice for projects already i...
https://github.com/vitest-dev/vitest/discussions/10271
6
88
22
reposted by
Vitest
Vladimir
16 days ago
Take a first look at the new
@vitest.dev
Browser Mode's trace viewer 👀 Design is not final 😄 Thank you,
@hiogawa.bsky.social
for working on it!
main.vitest.dev/guide/browse...
4
78
9
reposted by
Vitest
Vladimir
23 days ago
what are these downloads numbers 🤨
5
53
8
reposted by
Vitest
VoidZero
26 days ago
Did you know that @vitest.dev has an Agent reporter? 🤖 Instead of outputting all the details, it ensures only the failing tests and summary are sent to your agent. That means less tokens used and less information overload. Since Vitest 4.1 this is the default when detecting an agent.
2
70
13
reposted by
Vitest
AriPerkkio
28 days ago
There's some impressive work going on with 3rd party oxc powered coverage instrumentation that can replace Babel based istanbul-lib-instrument 👀 > 8-11x faster than babel-plugin-istanbul, 13-15x faster than swc-plugin-coverage-instrument (Rust/WASM), 25-30x faster than istanbul-lib-instrument.
loading . . .
GitHub - fallow-rs/oxc-coverage-instrument: Istanbul-compatible JavaScript/TypeScript coverage instrumentation using the Oxc AST
Istanbul-compatible JavaScript/TypeScript coverage instrumentation using the Oxc AST - fallow-rs/oxc-coverage-instrument
https://github.com/fallow-rs/oxc-coverage-instrument
1
25
8
reposted by
Vitest
Jens Rømer 🇺🇦
30 days ago
Really enjoying the Storybook/Vitest integration and the accessibility addon. It's friction at its best; easily detect an issue, serve you a direct link to the documentation about the rule so you learn something as a developer + the details you need to go fix it immediately 👏
0
18
3
reposted by
Vitest
James
about 1 month ago
vitest no longer supporting node 18 has been a good way to get a huge number of projects to bump their minimum node version 😄
1
43
1
reposted by
Vitest
Alexander Lichter
about 1 month ago
Want to start writing tests but no idea how to get started? The
@vitest.dev
docs now have a Learn section that covers evergreen concepts (matchers, tests, dealing with async code, mocks, ...) and also current topics like writing good tests with AI! Time to get started 🎉
3
60
12
reposted by
Vitest
Vladimir
about 1 month ago
@vitest.dev
now has a new `--experimental.preParse` flag to avoid running all test files when you apply filters. For example, if you have `.only` tests or use `-t` or `--tags-filters` Vitest will now only run matching test files. Try it now!
vitest.dev/config/exper...
1
46
7
reposted by
Vitest
VoidZero
about 1 month ago
Did you know that
@vitest.dev
UI shows you slow tests since 4.1? No more scrolling to find them! Do you use Vitest UI or rather prefer the terminal output?
loading . . .
4
38
5
reposted by
Vitest
Brandon Roberts
about 1 month ago
👏
@analogjs.org
2.4 for
@angular.dev
is out! ⚡️ Support for
@vite.dev
8 w/Rolldown 🧪 Enhanced testing DX with
@vitest.dev
🧑🚀 Improved integration with
@astro.build
And more! 👇
dev.to/analogjs/ana...
loading . . .
AnalogJS 2.4: Vite 8, Vitest Snapshot Serializers, Astro v6 Support, and more!
We are excited to announce the release of Analog 2.4! This release brings Vite 8 support, significant...
https://dev.to/analogjs/analogjs-24-vite-8-vitest-snapshot-serializers-astro-v6-support-and-more-3hgo
1
25
5
reposted by
Vitest
fast-check
about 2 months ago
🖇️ Our latest release of @fast-check/vitest added native support for before each/afterEach hooks of
@vitest.dev
. No more need to manually connect them into fast-check assertions they get automatically integrated if you use our connector package. Connector:
npmx.dev/package/@fas...
loading . . .
@fast-check/vitest - npmx
Property based testing for Vitest based on fast-check
https://npmx.dev/package/@fast-check/vitest
2
15
4
reposted by
Vitest
Vladimir
about 2 months ago
🫣
6
79
7
reposted by
Vitest
Ilja
about 2 months ago
👁️ the
@vitest.dev
addon for
@storybook.js.org
has almost 2 million weekly downloads and I'm only discovering it now? package:
npmx.dev/package/@sto...
docs:
storybook.js.org/docs/writing...
loading . . .
npmx
https://npmx.dev/package/@storybook/addon-vitest
2
9
1
reposted by
Vitest
Vite
about 2 months ago
Join the Vite ecosystem tomorrow to celebrate the Vite Team 5th Anniversary by rewatching together the Vite Documentary! Let's remember the stories of the people who connected to extend together our shared commons. And stay at 3:45 PM UTC to participate in the live stage after the movie 💜
loading . . .
5th anniversary of the Vite Team Creation
Vite: The Documentary re-premiere. Join the ecosystem this March 19th at 3 PM UTC to remember the story we wrote together. And participate in the live stage to discuss our past, present, and future. W...
https://vite.dev/live
2
42
9
reposted by
Vitest
AriPerkkio
about 2 months ago
This day 4 years ago I sent my first PR to
@vitest.dev
. Back then it was on v0.7.4 with 80K weekly downloads. After one year and +70 more PRs,
@antfu.me
and
@erus.dev
invited me to join the team. Today we are at v4.1.0 with 35M weekly downloads. Maybe in 2030 we'll have Vitest 8 with 140M downloads.
loading . . .
test(reporters): add outputFile tests by AriPerkkio · Pull Request #978 · vitest-dev/vitest
Adds missing test cases for outputFile configuration. I'm working on another bug fix and thought let's merge these ones first.
https://github.com/vitest-dev/vitest/pull/978
2
36
8
reposted by
Vitest
Younes Jaaidi
about 2 months ago
Debounces, delays, intervals... they either break your tests or slow them down. ⏩ Since
@vitest.dev
4.1.0, you can now "fast-forward" time in your tests with `nextTimerAsync` tick mode. ❤️ credit goes to Andrew Scott (
@angular.dev
team) 🧑🍳 recipe →
cookbook.marmicode.io/angular/test...
3
37
5
reposted by
Vitest
Younes Jaaidi
about 2 months ago
I just need a few more of you to migrate to
@vitest.dev
so I can prove that crystal balls work 🔮 😉 (the charts from
npmx.dev
are so neat ❤️)
2
45
9
reposted by
Vitest
Brian
about 2 months ago
Vite and Vitest have been a pleasure to use in my oss projects since switching to them. Kudos to those teams.
1
65
5
reposted by
Vitest
Krzysztof Sordyl
about 2 months ago
Async leak detection in action - caught a missing gcTime: Infinity in our TanStack Query test setup in one of our projects.
add a skeleton here at some point
0
32
1
reposted by
Vitest
VoidZero
2 months ago
Announcing Vite+ Alpha. Now open source. To make JavaScript developers more productive than ever before. A single binary that: ◆ Unifies your frontend toolchain ◆ Manages your runtime & pkg manager ◆ Caching & monorepo support Works with every framework and meta framework in the Vite ecosystem.
loading . . .
Announcing Vite+ Alpha
Introducing Vite+, an open-source CLI that unifies your runtime, package manager, and frontend toolchain into one fast, simple development experience.
https://voidzero.dev/posts/announcing-vite-plus-alpha
6
228
51
reposted by
Vitest
Vladimir
2 months ago
Very excited about this update! Tons of new stuff coming 🎉
add a skeleton here at some point
0
23
5
reposted by
Vitest
Vite
2 months ago
⚡️ Vite 8.0 is here! The most significant architectural change since Vite 2. ⏬ Powered by
@rolldown.rs
bringing faster production builds and more consistency 🛤️ New features such as tsconfig paths and emitDecoratorMetadata support
vite.dev/blog/announc...
loading . . .
Vite 8.0 is out!
Vite 8 Release Announcement
https://vite.dev/blog/announcing-vite8
7
404
105
Vitest 4.1 is out! 🚀 ✅ Vite 8 support from day 1 🏷️ Test tags to organize, filter & apply shared options 🪝 New hooks for easier tracing, transactions and AsyncLocalStorage 🔍 Async leak detection 🤖 Agent reporter to reduce token usage And much more! Full blog post at
vitest.dev/blog/vitest-...
loading . . .
Announcing Vitest 4.1
Vitest 4.1 Release Announcement
https://vitest.dev/blog/vitest-4-1.html
2 months ago
1
168
37
reposted by
Vitest
Cult.Repo
2 months ago
We're joining with the Vite team to re-premiere our Vite documentary!⚡️ 📅 Happening 19th March at 4pm CET | 10am CST 📺 Screening on the Vite website 💬 Followed by a live stage on Discord with Vite devs from the film Come hang out!
loading . . .
5th anniversary of the Vite Team Creation
Vite: The Documentary re-premiere. Join the ecosystem this March 19th at 3 PM UTC to remember the story we wrote together. And participate in the live stage to discuss our past, present, and future. W...
https://vite.dev/live
0
26
5
reposted by
Vitest
Vladimir
2 months ago
@vitest.dev
vscode extension now supports
@deno.land
!
0
37
1
reposted by
Vitest
Ariel Salminen
2 months ago
Been recently really enjoying working with Vitest tbh (both for client’s design system and also for my personal projects). I’m just nerding out over the terminal colors at this point tho
7
81
3
reposted by
Vitest
Brandon Roberts
2 months ago
🧪 In the latest release of
@analogjs.org
, you can migrate to
@vitest.dev
with browser mode for
@playwright.dev
enabled and automatically configured using an
@angular.dev
schematic!
analogjs.org/docs/feature...
0
13
4
reposted by
Vitest
VoidZero
2 months ago
✨ What's New in ViteLand: February 2026 Recap ◆ Oxfmt Beta: 100% Prettier conformance ◆
@vite.dev
8 includes devtools ◆
@vitest.dev
4.1 beta adds aroundEach/aroundAll hooks ◆
@rolldown.rs
becomes 9.6% faster ◆ Oxlint now supports 59/61 ts-eslint rules ◆ NestJS migrates to Vitest ◆ and much more 👀
loading . . .
What’s New in ViteLand: February 2026 Recap
Our February 2026 recap features Oxfmt Beta with 100% Prettier compatibility and 36x faster performance, Vite 8 devtools, Vitest async leak detection, and Rolldown performance gains.
https://voidzero.dev/posts/whats-new-feb-2026
0
56
9
reposted by
Vitest
Dom Porada
2 months ago
4 new packages added to Awesome Vitest in the last 7 days: 1 reporter, 2 utilities, and 1 browser mode environment. The ecosystem keeps growing. Building tooling for
@vitest.dev
? PRs are welcome!
loading . . .
GitHub - porada/awesome-vitest: Curated list of awesome Vitest tools and resources
Curated list of awesome Vitest tools and resources - porada/awesome-vitest
https://github.com/porada/awesome-vitest
1
15
3
reposted by
Vitest
Younes Jaaidi
2 months ago
This is my favorite kind of changes. Experimental runners out, clarity in.
@vitest.dev
is the path. Thanks Alan!
github.com/angular/angu...
0
17
2
reposted by
Vitest
Ilja
3 months ago
I started a collection of resources for
@vitest.dev
+ Svelte / SvelteKit testing. If you know a good learning resource (also Vitest in general), please let me know.
fubits.dev/notes/2026-0...
loading . . .
Collection: Vitest & Svelte
Resources and learning materials for getting started with Vitest in Svelte & SvelteKit
https://fubits.dev/notes/2026-02-21-collection-vitest-svelte-sveltekit-testing/
0
19
2
reposted by
Vitest
Haz
3 months ago
The fact that Vitest can run 1k tests in just 164 ms is mind-blowing.
2
55
3
reposted by
Vitest
VoidZero
3 months ago
Flaky tests and memory leaks are the worst.
@vitest.dev
now has a flag that catches uncleared intervals, lingering servers, and other async operations leaking across your tests. Available in the latest 4.1 beta. Big shout out to
@ariperkkio.dev
from the Vitest team for landing this PR! 🔥
loading . . .
1
56
12
Vitest 4.1 is on the horizon, but we're already looking ahead! What are your main pain points in your testing workflow right now? Let us know in the Vitest 5 discussion thread!
loading . . .
Vitest 5 · vitest-dev vitest · Discussion #9664
We wanted to start gathering feedback for the next major version. Vitest 4.1 is on its way and will include a lot of new features without any breaking changes (including tags, around hooks, --detec...
https://github.com/vitest-dev/vitest/discussions/9664
3 months ago
0
50
11
reposted by
Vitest
AriPerkkio
3 months ago
In the next version of Vitest you can track leaking asynchronous resources via `--detect-async-leaks` option! Available in v4.1.0-beta.4 release. 🔍 (notice missing await in the example)
2
72
11
reposted by
Vitest
Younes Jaaidi
3 months ago
👋
@vitest.dev
Browser Mode for
#Angular
is not just a switch — but a different recipe 😉 Let's dive into what's cooking under the hood: ⚙️ How it works (Vitest vs Playwright roles) 🌓 "Partial" vs. 🌕 "Full" Browser Mode 🔌 APIs: userEvent vs. page 🪜 Progressive migration
youtu.be/Pu22JQG6jdg
#testing
loading . . .
Test Angular Components Like a Real User with Vitest "Full" Browser Mode
YouTube video by Marmicode – By Younes Jaaidi
https://youtu.be/Pu22JQG6jdg
0
17
5
reposted by
Vitest
Alexander Lichter
3 months ago
What stops you from using
@vitest.dev
browser mode? 👀
add a skeleton here at some point
5
23
2
reposted by
Vitest
James
3 months ago
published a new version of the
@vitest.dev
ansi serializer! this basically converts many ansi codes to human-readable text for snapshots
loading . . .
GitHub - 43081j/vitest-ansi-serializer: Serializes ANSI codes as human-readable text for vitest snapshots
Serializes ANSI codes as human-readable text for vitest snapshots - 43081j/vitest-ansi-serializer
https://github.com/43081j/vitest-ansi-serializer
0
14
1
reposted by
Vitest
Brandon Roberts
3 months ago
🧪 Enjoyed the conversation between
@manfredsteyer.bsky.social
and
@rainerhahnekamp.bsky.social
about the future of testing with
@angular.dev
and
@vitest.dev
. I appreciate the recommendation of
@analogjs.org
for previous versions of Angular & compatibility with IDEs
www.youtube.com/watch?v=1ac9...
loading . . .
[EN] Angular Moves to Vitest – What Does That Mean for Us?
YouTube video by Manfred Steyer
https://www.youtube.com/watch?v=1ac9cfUjPV8
0
7
5
reposted by
Vitest
Jeppe Reinhold 🇩🇰
3 months ago
This is huge news!! Super excited to be working with
@ariperkkio.dev
❤️
add a skeleton here at some point
2
22
3
reposted by
Vitest
AriPerkkio
3 months ago
Excited to announce that I've officially joined
@chromatic.com
! My main focus will be working around features related to
@vitest.dev
🤝
5
59
7
reposted by
Vitest
danielroe
3 months ago
🧪 `@nuxt/test-utils` v4 is out 🚀 👺 mocking is much more reliable ⚡ works with vitest v4 + Vite's native Module Runner ⚗️ registerEndpoint improvements much thanks to
github.com/yamachi4416
and
@adamdehaven.com
❤️ 👉
github.com/nuxt/test-u...
let me know how it goes! 🙏
loading . . .
Release v4.0.0 · nuxt/test-utils
4.0.0 is the next major release. 👀 Highlights We're releasing Nuxt Test Utils v4, with support for Vitest v4. 🚀 Better mocking support The biggest improvement in this release is how mocking wo...
http://github.com/nuxt/test-utils/releases/tag/v4.0.0
1
70
10
reposted by
Vitest
sybers
3 months ago
@vite.dev
and
@vitest.dev
crushing the positive sentiment of devs who used it in the State of JS survey 🚀
2
36
3
reposted by
Vitest
Vladimir
3 months ago
For all your AsyncLocalStorage needs, Vitest 4.1 now supports `aroundEach` and `aroundAll` hooks!
main.vitest.dev/api/hooks#ar...
0
37
4
reposted by
Vitest
VoidZero
3 months ago
✨ What's New in ViteLand: January 2026 Recap ◆ Unified redesign across all VoidZero sites ◆
@vite.dev
crossed 3 billion npm downloads ◆
@rolldown.rs
reached RC status ◆ Lazy Barrel Optimization landed in Rolldown ◆ Oxfmt hit 100% Prettier conformance ◆ ...and more 👀
voidzero.dev/posts/whats-...
1
47
6
reposted by
Vitest
VoidZero
3 months ago
The State of JS 2025 results are out! 🏆 Most Adopted Tech → Vitest 🏆 Highest Satisfaction → Vite (98%) & Vitest (97%) 🏆 Highest Interest → Vitest (83%) & Rolldown (80%) But that's not all! A thread 🧵
2
69
15
reposted by
Vitest
VoidZero
3 months ago
Every test suite eventually categorizes tests: "skip this in CI," "this one is flaky," "that one needs more time." and so on. Vitest 4.1 (in beta right now) introduces Test Tags: You can now define these categories globally, attach config or behavior and eventually filter what runs.
1
57
8
Load more
feeds!
log in