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

help-me-mom / ng-mocks / 4d1aebe7-608c-42a1-ba5c-5d034fc18bfd

31 Oct 2024 07:53PM CUT coverage: 100.0%. Remained the same
4d1aebe7-608c-42a1-ba5c-5d034fc18bfd

Pull #10373

circleci

web-flow
chore(e2e/nx): update dependency @types/node to v22.8.6
Pull Request #10373: chore(e2e/nx): update dependency @types/node to v22.8.6

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.reflect.module-resolve.ts
1
import { NgModule } from '@angular/core';
2

3
import collectDeclarations from '../resolve/collect-declarations';
1✔
4

5
import coreReflectBodyCatch from './core.reflect.body-catch';
1✔
6

7
export default (def: any): NgModule =>
1✔
8
  coreReflectBodyCatch((arg: any) => {
9,357✔
9
    const declaration = collectDeclarations(arg);
9,357✔
10
    if (declaration.NgModule) {
9,357✔
11
      return declaration.NgModule;
9,354✔
12
    }
13

14
    throw new Error('Cannot resolve declarations');
3✔
15
  })(def);
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