The example of a test that tests an element is consistent between code changes. The code includes `expect(element).toMatchScreenshot('hero-secion')`
Built-in Visual Regression testing comes to Vitest in the next major release! Thank you, @macarie.blue for working on this feature 👏
main.vitest.dev/guide/browse...
28.07.2025 09:30 — 👍 136 🔁 24 💬 5 📌 1
Exciting early success with component testing for @react.dev server components (RSC) in @vitest.dev by @kasperpeulen.bsky.social!
github.com/kasperpeulen...
28.07.2025 07:43 — 👍 23 🔁 5 💬 1 📌 0
The screenshot from NPM showing that @vitest/browser package has 1,165,859 weekly downloads.
Vitest Browser Mode reached almost 1.2 million weekly downloads 😮
Last time I checked it was 200k 🫣
22.07.2025 12:42 — 👍 59 🔁 8 💬 10 📌 1
🎉 Excited to see @analogjs.org for @angular.dev pass 50K weekly downloads and still climbing!
The @vite.dev , @vitest.dev, and @nitro.build ecosystems are still growing 🚀
07.07.2025 17:57 — 👍 50 🔁 6 💬 1 📌 0
Highly recommend checking out @vitest.dev' Browser Mode. Not only did the setup get simpler, but to my surprise, tests got also roughly twice as fast. I only needed to rewrite one bad test suite (out of hundreds) and change the way I import MSW. Absolutely magical stuff 🪄
21.06.2025 09:44 — 👍 32 🔁 3 💬 0 📌 0
Wow!! @vitest.dev Browser mode is GOATED!! I moved all my test suite from playwright test to vitest browser, and things became a helluva lot simpler.
Requirements:
- Interactive draggability test
- Cross browser testing
Thread 👇
20.06.2025 20:40 — 👍 51 🔁 7 💬 3 📌 3
Frontend test coverage with Storybook 9
Stories give you free test coverage
Our latest post walks through how to use the coverage reporting in Storybook 9 to be sure your components are well-tested.
18.06.2025 18:38 — 👍 29 🔁 7 💬 2 📌 1
Anyone knows of any good Vitest monorepo examples?
15.06.2025 07:44 — 👍 12 🔁 3 💬 5 📌 0
@vitest.dev is awesome. Did you know you can even mock methods that don't exist?? I called them "Ghost Methods" in this post.
Reposting because my personal site was broken but I have fixed it!
14.06.2025 22:46 — 👍 4 🔁 1 💬 0 📌 0
Wow, love @vitest.dev is preventing me from merging PR with test.only on CI. No configuration. It just keeps me safe.
10.06.2025 15:06 — 👍 42 🔁 2 💬 4 📌 0
Sveltest - Comprehensive Testing Suite for Svelte
A comprehensive collection of testing patterns and examples for modern Svelte applications
I’ve made Sveltest a thing 🫣
sveltest.dev
This is documentation for getting started using vitest-browser-svelte in your projects
I’m currently going through the docs sveltest.dev/docs/getting-started comparing with what me and my team are doing “real-world” and validating
Contributions welcome
07.06.2025 19:36 — 👍 64 🔁 10 💬 2 📌 2
Screenshot of https://vitest.dev/guide/coverage.html#v8-provider contents. Describes the differences between Istanbul and V8 coverage providers.
We've added new coverage provider comparison page on Vitest documentation. This guide describes the lower level differences between Istanbul and V8. It should help users choosing which provider to use. vitest.dev/guide/covera...
06.06.2025 07:40 — 👍 36 🔁 6 💬 1 📌 0
Storybook 9 is here!
▶️ Interaction tests
♿ Accessibility tests
👁️ Visual tests
🛡️ Coverage reports
🚥 Test widget
🪶 48% Leaner
✍️ Story generation
🏷️ Tag-based organization
🌐 Story globals
🏗️ Major updates for Svelte, Next.js, React Native, and more!
Let’s dive in!
03.06.2025 17:05 — 👍 173 🔁 47 💬 3 📌 14
🤯 each @vitest.dev release is spot-on on pain points.
The low latency between the pain points appearing in the community and the solution landing in Vitest is outstanding
03.06.2025 08:10 — 👍 30 🔁 4 💬 0 📌 0
AST based V8 code coverage is finally here! I thought of this feature first time over 2 years ago, but knew it would require so much work that I couldn't finish it by working on Vitest just on weekends. Ever since @stackblitz.com hired me to work on Vitest I knew I could finish features like this.
02.06.2025 17:37 — 👍 66 🔁 7 💬 4 📌 0
Vitest 3.2 logo
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-...
02.06.2025 14:11 — 👍 156 🔁 28 💬 2 📌 5
YouTube video by Svelte Society
Component Testing with Storybook, Svelte, and Vitest — Svelte Summit Spring 2025
The next talk from Svelte Summit Spring 2025 by @reinhold.is is also related to testing — Strike the Perfect Balance: Component Testing with Storybook, Svelte, and Vitest.
youtu.be/mdyRQDDp28s
30.05.2025 09:16 — 👍 22 🔁 8 💬 1 📌 6
YouTube video by Svelte Society
Testing, 1 2 3 4, Dominik G. — Svelte Summit Spring 2025
In today's released talk from Svelte Summit Spring 2025 @dominikg.dev talks extensively about testing your Svelte applications with Vitest and Playwright — Testing, 1 2 3 4.
www.youtube.com/watch?v=ljmU...
29.05.2025 09:30 — 👍 23 🔁 5 💬 0 📌 4
After watching, make sure to check out @scottspence.dev blog post about this. bsky.app/profile/scot...
He not only applied the patterns i showed in my talk but also expanded and improved on them, with feedback from @erus.dev too.
A great testament of collaboration in our communities.
29.05.2025 10:06 — 👍 17 🔁 5 💬 2 📌 0
Announcing Angular v20
The past couple of years have been transformative for Angular, as we’ve unleashed major advancements like reactivity with Signals and the…
Angular v20 is now available! ✨
Check out the blog post for more info about the cool features and be sure to tune into the v20 developer event premiering tomorrow, May 29 at 9 AM Pacific
goo.gle/angular-v20-...
28.05.2025 18:47 — 👍 84 🔁 30 💬 0 📌 6
Testing preact apps in the browser made easy. Jovi did some excellent work on this!
26.05.2025 16:39 — 👍 23 🔁 1 💬 0 📌 0
At Preact we love real-browser testing, our whole test suite ran in karma for the last few years. Recently we switched over to @vitest.dev and we absolutely love it, we love it so much that we published vitest-browser-preact.
It's a library that contains tools to test Preact in vitest browser mode.
26.05.2025 12:54 — 👍 77 🔁 11 💬 2 📌 3
📺 Webinar: Behind the scenes of Storybook Test
Learn how the maintainers of Vitest + Storybook built a new workflow for running interaction, visual, and a11y tests—in a real browser, with instant feedback, right inside Storybook.
👇 Register below
22.05.2025 20:01 — 👍 13 🔁 4 💬 1 📌 1
I think that `expect.poll` is one of my favorite @vitest.dev features
⏰ Less fake timers mess
💾 Useful for Wide tests, waiting for DBs to "settle"
🏁 Wait for UI to be stable
🪄 ... you name it
What's your favorite Vitest feature?
(🎁 @playwright.dev has the same API 👯)
#testing #javascript
21.05.2025 15:35 — 👍 31 🔁 2 💬 1 📌 0
Storybook's onboarding messages informing Vitest packages installation. The instructions include pun "Let me cover this for you" while installing code coverage packages.
Onboarding on new @storybook.js.org projects is just perfect. So nice to have testing setup *covered* out-of-the-box. 🤝
21.05.2025 08:30 — 👍 34 🔁 6 💬 1 📌 0
🇧🇪 | he/him | Software Engineer @Shopify | @preactjs.com core maintainer | AI slop fixer | passionate about DX & web perf | opinions are my own
@e18e.dev - chaijs.com - tinylibs - parse5 - unjs - @lit.dev core contrib - github.com/43081j / Focusing on ecosystem perf & tooling 🥳
Unified tooling for JavaScript
Tech Lead, Full-Stack Developer from Lviv, Ukraine.
Currently working on Vue.js i18n plugin - fluent-vue https://github.com/fluent-vue/fluent-vue
https://demivan.me
Catalan living in New York
he/they(((🏳️🌈)))
President of Ecma International
Developing JavaScript at Bloomberg and in Ecma TC39
Opinions are my own, not representing Bloomberg, TC39 or Ecma
Full-time TypeScript educator. Used to be a voice coach. He/him. Author of Total TypeScript 🧙 Hire me to teach your team TypeScript!
👨🏻🍳 Software Cook, Teacher & Coach @ https://marmicode.io
✨ Google Developer Expert for #Angular
🌊 Nx Champion
✅ https://marmico.de/test.ng: Pragmatic Angular Testing Course
👨🏻🏫 https://marmico.de/workshops
📚 https://marmico.de/cookbook
Open Source Pledge is a group of companies with a shared commitment to paying the maintainers of the Open Source software we all consume.
https://opensourcepledge.com
Father of two, maintainer of RollupJS
Building http://oxc.rs and https://rolldown.rs at https://voidzero.dev. TC39 invited expert.
my life is derp and i do derp shit
Building opensource stuff ◦ @unjs.io ◦ @nitro.build ◦ @nuxt.com
🌱 github.com/pi0 ❌ x.com/_pi0_
Engineer, reader, amateur artist in many forms, sometimes writer, Pac-Man aficionado.
CTO at The Astro Technology Company https://astro.build/
Builder of https://yums.email/
💣 building @bomb.sh
🚀 co-creator of @astro.build
🔥 design engineer at @sentry.io
✨ they/them
The Whiteboard Guy @warp.dev
🏡 https://roe.dev
➕ building @nuxt.com • @nitro.build • https://elk.zone
💝 https://page-speed.dev • https://firstcommit.is • https://react-to-nuxt.com
🏅 Google GDE • Microsoft MVP • GitHub ⭐️
🧗♂️ ⛷️ 🚴♂️ ✝️
📍 edinburgh 🏴
Open Sourcerer, Vue.js Core Team, Web Enthousiast
@neon.tech | @solidjs.com | GDE Web Tech
↳ atila.io/youtube
Puns are usually intended.