Testing Web

Use when writing or fixing frontend unit, component or custom-hook tests with Vitest or Jest plus Testing Library — rendering a component in jsdom, testing a hook in isolation, choosing between sync and async queries, silencing act warnings, mocking fetch, or migrating a Jest suite to Vitest. NOT real-browser multi-page journeys (that is `e2e-testing`), NOT pytest suites (that is `testing-py`), NOT accessibility auditing (that is `accessibility`).

ericrisco a89b9f2 6 files · 28.0 KB Updated

File contents

ericrisco/rsc-harness/tree/main/skills/testing-web commit a89b9f2e6e

Frequently asked questions

npx skillmds@latest add ericrisco/testing-web