There's a new feature in vs code where you can have some files act as folders. You write your logic, your temp planning and your tests into the same file. I also did the same thing for all my config file,. All those things you're slent all o, that stuff kind of get scooped up into its own fake folder. So that way, when i'm looking in my explorer view and v s code, that it's not a, it's not taking up a ton of space. And then testing library gives you a whole bunch of handyapi calls. Instead of being like, quurry selector all to text content equals seven, you can say a two, half
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