Vitest
@vitest.dev
๐ค 5979
๐ฅ 75
๐ 69
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
5 months ago
3
266
66
reposted by
Vitest
Vladimir
about 17 hours ago
๐ซฃ
6
65
7
reposted by
Vitest
Ilja
1 day 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
8 days 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
8 days 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
9 days 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
10 days 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
44
9
reposted by
Vitest
Brian
12 days 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
12 days 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
13 days 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
221
50
reposted by
Vitest
Vladimir
14 days ago
Very excited about this update! Tons of new stuff coming ๐
add a skeleton here at some point
0
22
5
reposted by
Vitest
Vite
14 days 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
395
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
14 days ago
1
167
37
reposted by
Vitest
Cult.Repo
15 days 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
16 days ago
@vitest.dev
vscode extension now supports
@deno.land
!
0
36
1
reposted by
Vitest
Ariel Salminen
21 days 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
23 days 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
12
4
reposted by
Vitest
VoidZero
24 days 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
24 days 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
24 days 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
about 1 month 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
about 1 month ago
The fact that Vitest can run 1k tests in just 164 ms is mind-blowing.
2
55
3
reposted by
Vitest
VoidZero
about 1 month 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
about 1 month ago
0
50
10
reposted by
Vitest
AriPerkkio
about 1 month 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
about 1 month 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
about 1 month ago
What stops you from using
@vitest.dev
browser mode? ๐
add a skeleton here at some point
5
23
2
reposted by
Vitest
James
about 1 month 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
about 1 month 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 ๐ฉ๐ฐ
about 2 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
about 2 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 ๐บ๐ฆ
about 2 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
69
10
reposted by
Vitest
sybers
about 2 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
about 2 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
about 2 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
about 2 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
68
15
reposted by
Vitest
VoidZero
about 2 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
reposted by
Vitest
Franรงois Best
about 2 months ago
TIL about the .extend builder pattern to add context to test fixtures in
@vitest.dev
Seems super handy for backend testing (setting up servers, database, mocked services etc). And now with type safety? ๐
add a skeleton here at some point
0
17
3
reposted by
Vitest
Vladimir
about 2 months ago
The next
@vitest.dev
version has a new `test.extend` syntax that supports type inference (including the correct scope)!
main.vitest.dev/guide/test-c...
2
56
8
reposted by
Vitest
Vladimir
2 months ago
Use Vitest, but don't use Vite? Vitest 4.1 introduces a new flag to disable Vite module runner entirely, but keep using all the Vitest features you like! Try it out and let us know what you think:
loading . . .
Stabilizing `viteModuleRunner` ยท vitest-dev vitest ยท Discussion #9501
experimental.viteModuleRunner Introduced in 4.1.0-beta.2 Docs Vitest has become popular with projects that do not use Vite in their pipeline and don't require any custom transformations of their fi...
https://github.com/vitest-dev/vitest/discussions/9501
5
46
8
reposted by
Vitest
Vladimir
2 months ago
Test tags are coming to Vitest 4.1 (beta)! And they are powerful ๐ช
main.vitest.dev/guide/test-t...
loading . . .
Vitest
Next generation testing framework powered by Vite
https://main.vitest.dev/guide/test-tags.html
5
70
11
reposted by
Vitest
VoidZero
2 months ago
The first beta for
@vitest.dev
4.1 is out! ๐งช โ Chai-style spy assertions (`toHaveBeenCalled`, etc.) โ `userEvent.wheel()` for browser mode โ Enhanced retry options โ Disposable returned from `doMock()` โ Coverage ignore start/stop hints โ and more ๐ Try now by installing vitest@beta
loading . . .
Release v4.1.0-beta.1 ยท vitest-dev/vitest
๐ Features Return a disposable from doMock() ย -ย by @kirkwaiblinger in #9332 (e3e65) Added chai style assertions for spying ย -ย by @ronnakamoto and @sheremet-va in #8842 (841df) Update to sinon...
https://github.com/vitest-dev/vitest/releases/tag/v4.1.0-beta.1
2
48
6
reposted by
Vitest
VoidZero
2 months ago
Did you know
@vitest.dev
has `expect.poll`? It reruns an assertion until it passes (or times out). You can configure how many times the `expect.poll` callback should run with custom interval and timeout options! No need wrapping everything in `vi.waitFor` More in the docs
vitest.dev/api/expect.h...
0
42
5
reposted by
Vitest
VoidZero
2 months ago
New Year. New Look. Same Mission. Make JavaScript developers more productive than ever before
6
79
16
reposted by
Vitest
VoidZero
3 months ago
Want to understand why some of your
@vitest.dev
tests are slower than expected? Then you can use the built-in experimental
@opentelemetry.io
support to figure out what makes tests slow and how much time is spent on each part of it. ๐
2
32
4
reposted by
Vitest
Vladimir
4 months ago
A new milestone!
@vitest.dev
hit 20 million mark ๐ Took us 4 years since the first closed 0.0.0 release on December 3d, 2021 ๐
7
119
12
reposted by
Vitest
VoidZero
4 months ago
What's new in ViteLand? Our November 2025 recap is out! โจ
@vite.dev
8 Beta ๐ Oxfmt alpha ๐ป
@vitest.dev
caching and imports breakdown โ๏ธ Oxc becoming even faster!? ๐ Updates from the Community ๐ and more
voidzero.dev/posts/whats-...
loading . . .
Whatโs New in ViteLand: November 2025 Recap
Our November 2025 recap includes the Vite 8 beta release, Vitest performance updates, Rolldown improvements, Oxc formatter alpha, and exciting community news.
https://voidzero.dev/posts/whats-new-nov-2025
1
31
5
reposted by
Vitest
Vladimir
4 months ago
Vitest 4.0.15 comes with a cool experimental feature: Imports Breakdown. Every module shows how long it took to load in UI and in the VSCode extension! Pass down `--experimental.printImportBreakdown` to also see it in your terminal.
vitest.dev/guide/ui.htm...
5
42
9
reposted by
Vitest
raul
4 months ago
Merged! Vitest 4.0.14 includes a new tabbed view and slider for visual regression reports ๐ This feature required a lot of work under the hood, including the creation of the new test artifacts API. Really curious to see how it'll be used by us and the ecosystem ๐
add a skeleton here at some point
2
39
8
reposted by
Vitest
Vladimir
4 months ago
Vitest 4.0.11 adds an experimental `fsModuleCache` flag to cache module transforms between reruns. Learn more:
vitest.dev/config/exper...
This is an opt-in feature, please let us know how it works for you! And example of a single test file that imports a lot of files (~1500). Almost a 50% boost!
4
55
10
reposted by
Vitest
dave.js
5 months ago
Storybook v10 is looking amazing ๐คฉ The new CSF, the deeper Vitest integration, so many DX wins!
@storybook.js.org
@vitest.dev
@yannbf.bsky.social
youtu.be/YNQ_cJ6yy2Q?...
loading . . .
Yann Braga | Storybook Vitest | ViteConf 2025
YouTube video by ViteConf
https://youtu.be/YNQ_cJ6yy2Q?si=n-26CqbBBGYFMjEx
1
24
3
Load more
feeds!
log in