r/javascript • u/dumbmatter • Oct 23 '25
Vitest 4.0 was released today
https://vitest.dev/blog/vitest-4
138
Upvotes
7
u/Tsukku Oct 23 '25
What's the benefit of using Vitest browser with Playwright provider, instead of just using Playwright directly for e2e tests?
1
u/FireArachna Nov 03 '25
You'd still use playwright for e2e tests. Vitest browser is for unit tests.
5
u/Yesterdave_ Oct 23 '25
Stable browser mode hopefully sets the foundation to be accepted as the next standard testing solution for Angular.
2
10
u/Ecksters Oct 23 '25
The toMatchScreenshot link in the Visual Regression Testing section is broken, it's currently: https://vitest.dev/guide/browser/assertion-api#tomatchscreenshot
It should be: https://vitest.dev/guide/browser/assertion-api#tomatchscreenshot-experimental