• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

help-me-mom / ng-mocks / 63a93b47-0ec8-4419-bb12-b17b5b70caca / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/e2e/a16/multi-1fc4372ffa
DEFAULT BRANCH: master
Ran 23 Jan 2026 08:21PM UTC
Files 232
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jan 2026 08:17PM UTC coverage: 99.986% (-0.01%) from 100.0%
63a93b47-0ec8-4419-bb12-b17b5b70caca.1

Pull #12594

circleci

PieterjanDeClippel
fix: wrap factory functions in runInInjectionContext for Angular 16+

This fixes NG0203 errors when using MockModule with Angular Material
modules in Angular 21. The issue occurs because Angular 21 has stricter
injection context requirements, and inject() calls inside factory
functions need to run within a proper injection context.

The fix dynamically checks for runInInjectionContext availability
(Angular 16+) and wraps the factory body to ensure inject() calls
work correctly. Falls back gracefully for older Angular versions.

Fixes: https://github.com/help-me-mom/ng-mocks/pull/12594#issuecomment-3790321732

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Pull Request #12594: feat: upgrade to Angular 21

3310 of 3310 branches covered (100.0%)

Branch coverage included in aggregate %.

3963 of 3964 relevant lines covered (99.97%)

10079.69 hits per line

Source Files on job 63a93b47-0ec8-4419-bb12-b17b5b70caca.1
  • Tree
  • List 232
  • Changed 219
  • Source Changed 0
  • Coverage Changed 219
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 63
  • 7d8f52b8 on github
  • Prev Job for on angular-21-1 (#2e6dfc15-6854-43f8-9626-b5562551e58a.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc