Web Unit Testing

Use to plan web unit tests — Vitest (default with Vite, also fine for Next.js) or Jest for pure logic, hooks, utilities, and schema validation; fast, deterministic, colocated. Coverage goes where the logic is; DOM-heavy behavior belongs to component tests.

ahtishamshahzad d124786 4.9 KB Updated

File contents

ahtishamshahzad/agent_dev_flow/tree/main/.ai/skills/web/web-unit-testing commit d124786f3a

Frequently asked questions

npx skillmds@latest add ahtishamshahzad/web-unit-testing