javascript-testing-patterns - Build JavaScript and TypeScript testing strategies
Guides unit, integration, and end-to-end testing with Jest, Vitest, and Testing Library, including mocking, fixtures, and TDD workflows.
Tags
Updated: 2026-09-29Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Set up test infrastructure
- Write unit tests
- Create integration tests
- Implement end-to-end tests
- Mock external dependencies
- Test frontend components
- Apply test-driven development
- Configure continuous testing
Inputs
- JavaScript or TypeScript project
- Source code
- External dependency interfaces
- User flow definitions
- CI/CD pipeline configuration
Outputs
- Test files
- Test configuration
- Mock implementations
- Test results
- Coverage reports
