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

help-me-mom / ng-mocks / 2669be48-d3c8-47f1-9e0c-601da6ef1817

28 Oct 2024 11:18PM UTC coverage: 100.0%. Remained the same
2669be48-d3c8-47f1-9e0c-601da6ef1817

Pull #10314

circleci

web-flow
chore(e2e/min): update dependency @types/node to v20.17.2
Pull Request #10314: chore(e2e/min): update dependency @types/node to v20.17.2

3269 of 3269 branches covered (100.0%)

Branch coverage included in aggregate %.

4834 of 4834 relevant lines covered (100.0%)

8529.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/libs/ng-mocks/src/lib/common/core.injector.ts
1
import { Injector } from '@angular/core';
2

3
import { getTestBedInjection } from './core.helpers';
1✔
4

5
const defaultInjector: any = {};
1✔
6

7
export default (declaration: any, injector: Injector = defaultInjector): any => {
177,839✔
8
  if (injector === defaultInjector) {
177,805✔
9
    return getTestBedInjection(declaration);
34✔
10
  }
11
  try {
177,771✔
12
    return injector.get(declaration);
177,771✔
13
  } catch {
14
    return undefined;
172,753✔
15
  }
16
};
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

© 2025 Coveralls, Inc