What problem does it solve?
This Skill helps developers write comprehensive unit and integration tests for Angular v21+ applications using Vitest or Jasmine with TestBed, component harnesses, and modern testing patterns. Use for testing components with signals, OnPush change detection, services with inject(), and HTTP interactions. Triggers on test creation, testing signal-based components, mocking dependencies, or setting up test infrastructure.
Core Features & Use Cases
- Vitest and Jasmine-based testing workflows for Angular v21+ apps.
- Component tests with TestBed, standalone components, and component harness patterns.
- Tests for signals, OnPush change detection, and HTTP interactions; mocking services and dependencies.
- Use cases include creating unit tests, integration tests, and test infrastructure setup for new Angular projects.
Quick Start
Start by adding a new test file for an Angular component, configure TestBed, and run the test suite with Vitest or Jasmine.