Loading...
Loading...
WHEN testing React components/hooks/context with React Testing Library; NOT e2e; covers renderHook, providers, forms, and anti-patterns.
npx skill4agent add mintuz/claude-plugins react-testingfrontend-testingtddact()cleanup()beforeEach| Topic | Guide |
|---|---|
| Testing components, props, and conditional rendering | components.md |
| Testing custom hooks with renderHook | hooks.md |
| Testing context providers and consumers | context.md |
| Testing form inputs, submissions, and validation | forms.md |
| Common React testing mistakes to avoid | anti-patterns.md |
| Loading states, error boundaries, portals, Suspense | advanced.md |
renderHookresult.currentact()rerender()wrapperact()cleanup()beforeEachrender()renderHook()wrapperact()cleanup()beforeEachtddfrontend-testing