

My first unit tests found a bug on the first run
I'd never written a test. Adding Vitest to my SvelteKit site, testing three small functions, and the edge case that turned out to be a real bug.
1 post with this tag.


I'd never written a test. Adding Vitest to my SvelteKit site, testing three small functions, and the edge case that turned out to be a real bug.