react-testing-patterns
Installation
SKILL.md
React Testing Patterns
When to Use
Activate this skill when:
- Writing tests for React components (rendering, interaction, accessibility)
- Testing custom hooks with
renderHook - Mocking API calls with MSW (Mock Service Worker)
- Testing async state changes (loading, error, success)
- Auditing component accessibility with jest-axe
- Setting up test infrastructure (providers, test utilities)
Do NOT use this skill for:
- E2E browser tests with Playwright (use
e2e-testing) - Backend Python tests (use
pytest-patterns) - TDD workflow enforcement (use
tdd-workflow) - Writing component implementation code (use
react-frontend-expert)
Instructions
Related skills