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

help-me-mom / ng-mocks / 7d88e93e-8d60-4d55-87e5-c2761c29602e

29 Aug 2024 09:21PM CUT coverage: 100.0%. Remained the same
7d88e93e-8d60-4d55-87e5-c2761c29602e

push

circleci

web-flow
chore(tests-e2e): update angular-cli monorepo to v18.2.2 (patch) (#9881)

3269 of 3269 branches covered (100.0%)

Branch coverage included in aggregate %.

4834 of 4834 relevant lines covered (100.0%)

8561.29 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