sdcorejs-testing-unit-angular-portal
CommunityWrite fast Angular unit tests confidently
Authorsdcorejs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Unit testing small Angular Portal building blocks (validators, pipes, mappers, and single service methods) without slow flaky integration setups.
Core Features & Use Cases
- Validator unit tests: Table-driven
it.eachcoverage for edge cases in Angular Reactive Forms. - Pipe unit tests:
TestBed-based isolated checks for formatting, null handling, and locale behavior. - Service method isolation: Mocked
HttpClientor useHttpClientTestingModuleto avoid real network calls. - Mapper / pure function tests: Deterministic assertions for mapping and formatting rules.
- Async validator patterns:
fakeAsync+tick()for RxJS-based validators. - Guard / interceptor tests:
TestBed.runInInjectionContextfor function-based Angular APIs.
Quick Start
Ask the skill: "Write unit tests for my Angular-portal validator/service method, covering happy path and unhappy path cases without hitting the network."
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sdcorejs-testing-unit-angular-portal Download link: https://github.com/sdcorejs/sdcorejs-agent/archive/main.zip#sdcorejs-testing-unit-angular-portal Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.