Mocking is built in vi, a tiny spy. It connects the stuff you know. And use typescript g s x e s m support. There's workers, multi threading via tiny pool. Not something that i've used myself, but it's a good for performance,. filtering, time out, concurrent for test. So you can filter only run specific tests, the kind of stuff you'd expect from a testing framework. Another thing is it's compatible with just snapshots. You can use the same snapshots in v test without having to have anything extra.
In this Hasty Treat, Scott and Wes talk about Vitest, how testing is handled, how code coverage works, and whether they think they’ll use it.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
MagicBell - Sponsor
MagicBell is the The notification inbox for your product. Add a MagicBell to your product for announcements, billing, workflow, and other notifications. The free plan supports up to 100 Monthly Active Users - use the coupon code SYNTAXFM for 10% off the first 12 months.
Show Notes
Tweet us your tasty treats