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

help-me-mom / ng-mocks / 19aeae34-3582-4e31-ba8e-5e8559961273

22 Jan 2024 07:11PM UTC coverage: 100.0%. Remained the same
19aeae34-3582-4e31-ba8e-5e8559961273

push

circleci

web-flow
Merge pull request #7516 from help-me-mom/renovate/e2e/min/typescript-5.3.x

chore(e2e/min): update dependency typescript to v5.3.3

3262 of 3262 branches covered (100.0%)

Branch coverage included in aggregate %.

4821 of 4821 relevant lines covered (100.0%)

8375.73 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 => {
176,063✔
8
  if (injector === defaultInjector) {
176,029✔
9
    return getTestBedInjection(declaration);
34✔
10
  }
11
  try {
175,995✔
12
    return injector.get(declaration);
175,995✔
13
  } catch {
14
    return undefined;
168,655✔
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