Write Frontend Tests

Use when writing frontend tests — a test-worthiness gate first (no 1:1 per-file test mirroring), then Jest + React Testing Library for components/hooks/utils that earn a test, and Cypress + Cucumber for e2e user flows. Where tests live, what to test, mocking the router, and the lint/type/test gates. React/Next.js reference.

kennguyen887 911b5fc 3.8 KB Updated

File contents

kennguyen887/agent-foundation/tree/main/skills/write-frontend-tests commit 911b5fc033

Frequently asked questions

npx skillmds@latest add kennguyen887/write-frontend-tests