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

help-me-mom / ng-mocks / 68f8a6f8-747a-48f3-9604-d2e1f257a097

25 Aug 2024 03:46PM UTC coverage: 100.0%. Remained the same
68f8a6f8-747a-48f3-9604-d2e1f257a097

push

circleci

satanTime
docs: fixing links

3269 of 3269 branches covered (100.0%)

Branch coverage included in aggregate %.

4834 of 4834 relevant lines covered (100.0%)

8558.86 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.config.ts
1
export default {
1✔
2
  flags: ['cacheModule', 'cacheComponent', 'cacheDirective', 'cacheProvider', 'correctModuleExports'],
3
  mockRenderCacheSize: 25,
4
  neverMockModule: [
5
    'ApplicationModule',
6
    'CommonModule',
7
    'BrowserModule',
8

9
    // Angular 16 adds underscores
10
    '_ApplicationModule',
11
    '_CommonModule',
12
    '_BrowserModule',
13
  ],
14
  neverMockProvidedFunction: [
15
    'DomRendererFactory2',
16
    'EventManager',
17
    'Injector', // ivy only
18
    'RendererFactory2',
19

20
    // https://github.com/help-me-mom/ng-mocks/issues/538
21
    'Sanitizer',
22
    'DomSanitizer',
23
    'DomSanitizerImpl',
24

25
    // ApplicationModule, A14 made them global at root level
26
    'ApplicationInitStatus',
27
    'ApplicationRef',
28
    'Compiler',
29
    'IterableDiffers',
30
    'KeyValueDiffers',
31

32
    // Angular 16 adds underscores
33
    '_DomRendererFactory2',
34
    '_EventManager',
35
    '_Injector',
36
    '_Sanitizer',
37
    '_DomSanitizer',
38
    '_DomSanitizerImpl',
39
    '_ApplicationInitStatus',
40
    '_ApplicationRef',
41
    '_Compiler',
42
    '_IterableDiffers',
43
    '_KeyValueDiffers',
44
  ],
45
  neverMockToken: [
46
    'InjectionToken Set Injector scope.', // INJECTOR_SCOPE // ivy only
47
    'InjectionToken EventManagerPlugins', // EVENT_MANAGER_PLUGINS
48
    'InjectionToken HammerGestureConfig', // HAMMER_GESTURE_CONFIG
49

50
    // ApplicationModule, A14 made them global at root level
51
    'InjectionToken AppId', // APP_ID
52
    'InjectionToken DefaultCurrencyCode', // DEFAULT_CURRENCY_CODE
53
    'InjectionToken LocaleId', // LOCALE_ID
54
    'InjectionToken SCHEDULER_TOKEN', // SCHEDULER
55
  ],
56
  onMockBuilderMissingDependency: 'throw',
57
  onMockInstanceRestoreNeed: 'warn',
58
  onTestBedFlushNeed: 'warn',
59

60
  dependencies: [
61
    'declarations',
62
    'hostDirectives',
63
    'entryComponents',
64
    'bootstrap',
65
    'providers',
66
    'viewProviders',
67
    'imports',
68
    'exports',
69
  ] as const,
70
};
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