
vitest
393 posts

vitest
@vitest_dev
Testing framework powered by @vite_js ⚡️, brought to you by @voidzerodev | Bluesky: https://t.co/vS4yqK4RGr 🦋
Bluesky شامل ہوئے Aralık 2021
27 فالونگ31.2K فالوورز
پن کیا گیا ٹویٹ

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
English

Read our announcement post for all the details
vitest.dev/blog/vitest-4-…
English

@tannerlinsley @ashishxcode @tan_stack Any interest in making a testing framework? with AI-driven velocity increases... tests are more important than ever, and playwright still feels like 2018 tech. (And I think the existence of Vite + server functions makes for some interesting possibilities)
English

.@Tan_Stack CU
Phase 1
- Table
- Query
- Virtual
- Form
- Store
Phase 2
- Router
- Start
- DB
- Pacer
Phase 3
- Devtools
- AI
- CLI
- Hotkeys
Phase 4
...
GIF
English

vitest ری ٹویٹ کیا

Flaky tests and memory leaks are the worst.
@vitest_dev now has a --detect-async-leaks flag that catches uncleared intervals, lingering servers, and other async operations leaking across your tests.
⚠️ Don't run it on every run though. Use it to audit your test suite, then clean things up.
Available in the latest 4.1 beta. Big shout out to Ari from the Vitest team for landing this PR! 🔥
English
vitest ری ٹویٹ کیا

Tests.
Vitest's browser mode is stable since Vitest 4.0.
Now you can be sure that your tests pass in an *actual* browser environment.
vitest.dev/guide/browser/

English
vitest ری ٹویٹ کیا

✨ What's New in ViteLand: January 2026 Recap
◆ Unified redesign across all VoidZero sites
◆ @vite_js crossed 3 billion npm downloads
◆ @rolldown_rs reached RC status
◆ Lazy Barrel Optimization landed in Rolldown
◆ Oxfmt hit 100% Prettier conformance
◆ Oxlint gets a dynamic .ts config
◆ ...and much more 👀
Full recap below!

English
vitest ری ٹویٹ کیا

The first beta for @vitest_dev 4.1 is out! 🧪
What's new:
◆ Chai-style spy assertions (`toHaveBeenCalled`, etc.)
◆ `userEvent.wheel()` for browser mode
◆ Enhanced retry options for flaky tests
◆ Disposable returned from `doMock()`
◆ Respecting coverage ignore start/stop hints
◆ and more 👀
Try now by installing vitest@beta
English
vitest ری ٹویٹ کیا
vitest ری ٹویٹ کیا

Want to speed up subsequent @vitest_dev runs?
Then try out the new experimental file-system based cache ✨
⋄ Caches transformed modules
⋄ Does *not* work with browser mode yet
⋄ Can be manually cleared via `vitest --clearCache`
More in the docs
#experimental-fsmodulecache" target="_blank" rel="nofollow noopener">vitest.dev/config/experim…

English
vitest ری ٹویٹ کیا

I started a proof of concept to integrate the standard schema natively into @vitest_dev
It's currently being discussed integrating this directly into `toEqual()`, creating a new custom matcher like `toEqualSchema()` or an asymmetric matcher like `schemaMatching()`

Chris Cook@zirkelc_
What if we can turn `expect(url).toMatch(/^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/)` into `expect(url).toMatchSchema(z.url())`? I created a custom matcher for @vitest_dev to validate data against any schema
English
vitest ری ٹویٹ کیا

What's new in ViteLand? Our August 2025 recap is out
👣 Big steps for Oxlint: Type-aware linting preview & custom JS plugins roadmap
🖼️ @vitest_dev has visual regression support in beta
⏩ Native plugins enabled by default in rolldown-vite
🤌 Smaller bundles due to @rolldown_rs and Oxc
👀 and more

English
vitest ری ٹویٹ کیا

⚡ Speaker highlight: Jessica Sachs, FOSS Nerd at @HeroDevs
The Vitest Browser mode is one of the most exciting features of @vitest_dev!
@_jessicasachs will reveal what makes it so powerful, moving beyond JSDOM. You’ll learn how you can use it for component testing and even cases beyond that - and which new capabilities the browser mode got (looking at you visual regression testing 👀)
A game-changer for testing! ✅
Watch the talk live - viteconf.amsterdam

English
vitest ری ٹویٹ کیا

⚡ Speaker highlight: Vladimir Sheremet, Core Maintainer of @vitest_dev
The "State of Vitest" is a must-see! Vladimir will give us the official update on the most interesting testing framework out there, covering the latest features, performance boosts, and what's next for the Vite-powered testing experience. ✅
Don’t write tests yet? You better get started 👀
And then, get your ticket for the first in-person ViteConf at viteconf.amsterdam

English
vitest ری ٹویٹ کیا

We’re super excited to share that the Vite Documentary premieres October 9th at @ViteConf in Amsterdam ⚡
@vite_js
youtu.be/46fe5AFc0tY

YouTube
English
vitest ری ٹویٹ کیا

With Storybook 9, your stories can be tests. But how do you know that you’re testing the right things? For that, we built @vitest_dev's test coverage into Storybook Test.
Click on the coverage summary in the test widget to open an interactive coverage report.

English
vitest ری ٹویٹ کیا

Vitest 3.2 is out!
- New Annotations API
- Scoped Fixtures
- Custom Browser Locators API
- Test Signal
- Better V8 Coverage Result
And many more features!
vitest.dev/blog/vitest-3-…

English

