react-testing - Test React components, hooks, context, and forms
Provides patterns for testing React components, hooks, context providers, and forms with Vitest Browser Mode or legacy Testing Library APIs.
Tags
Updated: 2026-09-29Typical Inputs
Typical Outputs
What this skill does
- Test React components
- Test custom hooks
- Test context providers
- Test form interactions
- Test conditional rendering
- Test callbacks and props
Inputs
- React components
- React hooks
- Context providers
- Form interactions
- Component props
- Test configuration
Outputs
- Test results
- Rendered UI assertions
- Callback assertions
- Form validation assertions
Requirements
- React project
- Vitest
- Vitest Browser Mode
- Playwright browser provider
- vitest-browser-react
- Vite React plugin
