help-me-mom/ng-mocks
Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup observed · 2026-09-03
Health v2 · maintenance only
95/100
- Activity 100
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 42.0
- age_days: 3126
- days_rel: 9
- days_push: 0
- n_releases_24m: 15
Adoption not part of the score
1156 stars · 119 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ng-mocks is an Angular testing library that mocks components, directives, pipes, modules, services, and tokens while reducing TestBed boilerplate. It supports Angular 5 through 22 with Jasmine, Jest, and Vitest.
Use cases
- mock angular components in unit tests
- simplify angular testbed setup
- mock services and providers in angular tests
- reduce boilerplate in angular spec files
- test angular standalone components
- replace child components with mocks in angular tests
When to choose
- you write unit tests for Angular apps and want easy mocking of declarations
- you want to cut TestBed boilerplate in Angular specs
- you use Jest, Jasmine, or Vitest with Angular
When to avoid
- you are not building with Angular
- you need end-to-end browser testing rather than unit tests
Facets
library · maturity active
mocking testing e2e-testing testing frontend web-development developer-tools cross-platform angular testbed jasmine jest vitest typescript nodejs
1 source
- readme: https://github.com/help-me-mom/ng-mocks · fetched 2026-09-03 · 41bada14651e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| help-me-mom/ng-mocks | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="help-me-mom/ng-mocks")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem