testing - Testing for TypeScript/React/Next.js
Testing strategies and patterns for TypeScript/React/Next.js applications
Tags
Updated: 2026-05-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- write unit tests
- write integration tests
- write e2e tests
- setup test infrastructure
- test React components
- test React hooks
- test API routes
- mock dependencies
- mock APIs
- mock databases
- establish testing patterns
Inputs
- project source code
- components to test
- API routes to test
- test configuration
Outputs
- test results
- test coverage report
- failure screenshots
Requirements
- Node.js environment
- package manager
- Vitest or Jest or Playwright
