Vitest
@vitest.dev
📤 6089
📥 78
📝 73
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
8 months ago
3
266
66
reposted by
Vitest
Vladimir
9 days ago
I have cancelled my GitHub Sponsors account today. If you've been sponsoring me before, consider redirecting the funds to Vitest directly 💚
loading . . .
Sponsor @vitest-dev on GitHub Sponsors
https://github.com/sponsors/vitest-dev#sponsors
1
24
4
reposted by
Vitest
Kate Holterhoff, PhD
11 days ago
Interested in the story behind
@voidzero.dev
joining
@cloudflare.social
? So was I! Luckily
@evanyou.me
, Founder & CEO of VoidZero, creator of
@vuejs.org
&
@vite.dev
, & now part of Cloudflare's
#oss
team, joined me to discuss. 👉
redmonk.com/videos/evan-...
@redmonk.com
youtube.com/shorts/98v0t...
loading . . .
Cloudflare's VoidZero #acquisition & #oss commitments with Evan You #startup
YouTube video by RedMonk
https://youtube.com/shorts/98v0thYiU4Y
0
23
5
reposted by
Vitest
Chromatic
16 days ago
Get first access to our
@vitest.dev
plugin, which adds Chromatic’s visual testing and review to your browser tests. It’s built by
@ariperkkio.dev
, a Vitest core maintainer. It’s free to use while in beta and requires no changes to your test files. Read on for more info 🧵
1
15
3
reposted by
Vitest
VoidZero
17 days ago
🌌 Tales from the Void: Our May 2026 Recap Don't miss out on the news: 🧡 VoidZero is now part of Cloudflare ⚡ Rolldown got its first stable release 🔒 Vite security patches 🧪 Vitest going engine-agnostic 🦀 Oxfmt up to 25% faster 👀 and more from the community Full recap 👇
voidzero.dev/posts/whats-...
loading . . .
Tales from the Void: May 2026 Recap
Our May 2026 recap covers VoidZero joining Cloudflare, Rolldown reaching 1.0 stable, and more.
https://voidzero.dev/posts/whats-new-may-2026
1
45
3
reposted by
Vitest
Cloudflare
23 days ago
VoidZero, the team behind Vite, Vitest, Rolldown, Oxc, and Vite+, is joining Cloudflare. Vite stays open source, vendor-agnostic, and built for everyone.
https://cfl.re/4dR0LYA
loading . . .
VoidZero is joining Cloudflare
VoidZero, the team behind Vite, Vitest, Rolldown, Oxc, and Vite+, is joining Cloudflare. Vite stays open source, vendor-agnostic, and built for everyone.
https://blog.cloudflare.com/voidzero-joins-cloudflare/?utm_campaign=cf_blog&utm_content=20260604&utm_medium=organic_social&utm_source=bluesky
3
150
33
reposted by
Vitest
VoidZero
23 days ago
VoidZero is joining Cloudflare. Our mission stays the same: to make JavaScript developers more productive than ever before. Vite, Vitest, Rolldown, Oxc, and Vite+ remain MIT-licensed. Evan and the VoidZero team will continue leading them.
10
269
78
reposted by
Vitest
Vite
23 days ago
Today, VoidZero joins Cloudflare. Vite remains MIT, vendor-neutral, and stewarded by the same wider team. The same goes for Vitest, Rolldown, and Oxc. Cloudflare is also committing $1M to an OSS fund to support independent development in the Vite ecosystem.
loading . . .
Cloudflare supports Vite's mission
The VoidZero team is joining Cloudflare. Vite remains MIT, vendor-neutral and stewarded by the same wider team.
https://vite.dev/blog/cloudflare-supports-vite
5
207
48
We've published a Browser Mode security advisory. CDP-capable providers like Playwright Chromium with the browser API exposed to the network allowed attackers to run code on the host. Update vitest/browser to 5.0.0-beta.4, 4.1.8, or 3.2.6. Vite+ users: Upgrade to 0.1.24
github.com/vitest-dev/v...
loading . . .
Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE
## Summary Vitest Browser Mode exposes a `cdp()` API that forwards raw Chrome DevTools Protocol (CDP) methods over the Vitest browser WebSocket RPC. CDP is not gated by `browser.api.allowWrite`,...
https://github.com/vitest-dev/vitest/security/advisories/GHSA-g8mr-85jm-7xhm
26 days ago
0
26
6
reposted by
Vitest
AriPerkkio
26 days ago
Building this integration has been amazing opportunity to dogfood all APIs we've added into
@vitest.dev
in past years. It's using features like new Reporter APIs, Vitest plugin hooks, browser commands, CDP, test tags and much more! Vitest is definitely one of the most extensible JS tools out there.
add a skeleton here at some point
1
22
7
reposted by
Vitest
Chromatic
about 1 month ago
We’re launching early access for Vitest visual testing with Chromatic! ⚡️ Built with
@vitest.dev
core maintainer
ariperkkio.dev
, Chromatic adds visual testing to the browser tests you already write. 🧵 (1/4)
3
53
11
reposted by
Vitest
Younes Jaaidi
about 1 month ago
🦸 The legends who stayed till the very end of yesterday's
#ReactSummit
Pragmatic Testing workshop. I love how
@vitest.dev
+ a resilient testing strategy makes tests look the same across frameworks.
1
9
1
🚨 We are publishing Vitest 4.1.6 and Vitest 5.0.0-beta.3 to resolve recent vulnerabilities: - `--api` and `--ui` exposed arbitrary files to the network - `--api` allowed arbitrary execution - `?otelCarrier` XSS Check
github.com/vitest-dev/v...
for more information
loading . . .
Build software better, together
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
https://github.com/vitest-dev/vitest/security
about 1 month ago
0
43
10
reposted by
Vitest
VoidZero
about 1 month ago
Couldn't keep up with all the news? We got some selected highlight from last month to recap! 🌀 → Vite Plus lazyPlugins API →
@vitest.dev
5 sneak peak → Oxlint: RFC for linting Svelte/Vue/Angular templates → Module Federation in
@vite.dev
via plugin →
@npmx.dev
vp option
youtu.be/zwY4UZr-qjc
0
51
11
reposted by
Vitest
Younes Jaaidi
about 2 months 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
about 2 months 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
about 2 months 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
90
22
reposted by
Vitest
Vladimir
2 months 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...
5
95
11
reposted by
Vitest
Vladimir
2 months ago
what are these downloads numbers 🤨
5
54
7
reposted by
Vitest
VoidZero
2 months 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
71
13
reposted by
Vitest
AriPerkkio
2 months 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
3 months 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
19
3
reposted by
Vitest
James
3 months 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
42
1
reposted by
Vitest
Alexander Lichter
3 months 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
3 months 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
47
8
reposted by
Vitest
VoidZero
3 months 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
3 months 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
3 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
3 months ago
🫣
6
79
7
reposted by
Vitest
Ilja
3 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
3 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
3 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
3 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
3 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
4 months ago
Vite and Vitest have been a pleasure to use in my oss projects since switching to them. Kudos to those teams.
1
64
5
reposted by
Vitest
Krzysztof Sordyl
4 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
4 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
229
51
reposted by
Vitest
Vladimir
4 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
4 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
106
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
4 months ago
1
168
37
reposted by
Vitest
Cult.Repo
4 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
4 months ago
@vitest.dev
vscode extension now supports
@deno.land
!
0
37
1
reposted by
Vitest
Ariel Salminen
4 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
4 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
4 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
4 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
4 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
4 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
4 months ago
The fact that Vitest can run 1k tests in just 164 ms is mind-blowing.
2
56
3
reposted by
Vitest
VoidZero
4 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
4 months ago
0
50
11
Load more
feeds!
log in