angular-testing

Installation
Summary

Unit and integration testing for Angular v20+ with Vitest or Jasmine, supporting signals and modern patterns.

  • Supports both Vitest (recommended) and Jasmine test runners with native Angular v20+ integration via @angular/build
  • Covers signal-based components, computed values, OnPush change detection, and input/output testing with modern APIs
  • Includes HTTP mocking via HttpTestingController, service injection with TestBed.inject(), and dependency mocking with Vitest
  • Provides patterns for async testing with fakeAsync and waitForAsync, HTTP resources, and component fixture workflows
SKILL.md

Angular Testing

Test Angular v20+ applications with Vitest (recommended) or Jasmine, focusing on signal-based components and modern patterns.

Vitest Setup (Angular v20+)

Angular v20+ has native Vitest support through the @angular/build package.

npm install -D vitest jsdom

Configure in angular.json:

Related skills

More from analogjs/angular-skills

Installs
4.2K
GitHub Stars
588
First Seen
Jan 24, 2026