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

help-me-mom / ng-mocks / dc6df7db-4226-4afd-814d-c370ca738abc

28 Oct 2024 03:23PM CUT coverage: 100.0%. Remained the same
dc6df7db-4226-4afd-814d-c370ca738abc

Pull #10310

circleci

web-flow
chore(tests-e2e): update dependency puppeteer to v23.6.1
Pull Request #10310: chore(tests-e2e): update dependency puppeteer to v23.6.1

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.directive-resolve.ts
1
import { Component, Directive, 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 (
1✔
8
  def: any,
9
): Directive &
10
  Partial<Component> &
11
  NgModule & {
12
    hostBindings?: Array<[string, any]>;
13
    hostListeners?: Array<[string, any, any]>;
14
    imports?: any[];
15
    standalone?: boolean;
16
  } =>
17
  coreReflectBodyCatch((arg: any) => {
8,914✔
18
    const declaration = collectDeclarations(arg);
8,914✔
19
    if (declaration.Component) {
8,914✔
20
      return declaration.Component;
2,858✔
21
    }
22
    if (declaration.Directive) {
6,056✔
23
      return declaration.Directive;
5,953✔
24
    }
25

26
    throw new Error('Cannot resolve declarations');
103✔
27
  })(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