reviewing-test-quality
Installation
SKILL.md
Review: Test Quality
For Vitest configuration validation (pool options, coverage setup, deprecated patterns), see vitest-4/skills/reviewing-vitest-config/SKILL.md.
Checklist
Test Coverage
- Components have tests for user interactions
- Forms test both success and error paths
- Server Actions tested in isolation
- Custom hooks tested with
renderHook - Edge cases covered (empty states, errors, loading)
React 19 APIs
- Forms using
useActionStatehave tests -
useOptimisticupdates tested for immediate feedback -
useFormStatustested within form component context - Server Actions tested with mocked auth/database
-
use()hook tested with Promises and Context