#Vitest
1 posts
5 min read
Testing #2 — Vitest Setup and Your First Unit Test (describe / it / expect)
Wire Vitest into a project and write your first test against the simplest possible function. The Jest comparison takes one paragraph — the real focus is the meaning of describe/it/expect, watch mode, where vitest.config.ts lives, and the small wrinkles between your first failure and your first pass.