angular-testing-patterns - Apply robust Angular testing patterns
Guides Angular testing strategy, TestBed configuration, dependency mocking, asynchronous tests, DOM queries, and framework-specific patterns.
Tags
Updated: 2026-11-27Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Classify code under test
- Configure minimal TestBed modules
- Mock dependencies appropriately
- Control change detection
- Query the DOM resiliently
- Test asynchronous code
- Configure Jest for Angular
- Test NgRx interactions
- Test Router behavior
- Implement component harnesses
Inputs
- Angular source code
- Testing requirements
- Dependency configuration
- Test runner configuration
Outputs
- Angular test code
- Test runner configuration
- Testing strategy decisions
- Test execution results
Requirements
- Angular project
- TypeScript testing environment
