What is Vitest? Write your first test to lock in a bug fix
What is Vitest and how do you write a first test? Lock in a café's "35.000" price fix, use test.each for many cases, and avoid tests that always pass.
Tag · 2 posts
What is Vitest and how do you write a first test? Lock in a café's "35.000" price fix, use test.each for many cases, and avoid tests that always pass.
Learn to read a stack trace through a real bug: read the error message, find your own line of code, trace the bad data back and fix it where it starts.