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

NationalBankBelgium / stark / 9411545197

07 Jun 2024 04:15AM CUT coverage: 88.859%. Remained the same
9411545197

Pull #3814

github

web-flow
Merge c56164050 into fd511f3f4
Pull Request #3814: chore(deps): bump zone.js from 0.13.3 to 0.14.7 in /starter

1258 of 1525 branches covered (82.49%)

Branch coverage included in aggregate %.

3775 of 4139 relevant lines covered (91.21%)

193.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/packages/stark-ui/src/modules/progress-indicator/progress-indicator.module.ts
1
import { ModuleWithProviders, NgModule } from "@angular/core";
2
import { CommonModule } from "@angular/common";
3
import { StoreModule } from "@ngrx/store";
4
import { StarkProgressIndicatorDirective } from "./directives";
5
import { STARK_PROGRESS_INDICATOR_SERVICE, StarkProgressIndicatorServiceImpl } from "./services";
6
import { starkProgressIndicatorStoreKey } from "./constants";
7
import { starkProgressIndicatorReducers } from "./reducers";
8
import { StarkProgressIndicatorComponent } from "./components";
9

10
@NgModule({
11
        declarations: [StarkProgressIndicatorDirective, StarkProgressIndicatorComponent],
12
        imports: [CommonModule, StoreModule.forFeature(starkProgressIndicatorStoreKey, starkProgressIndicatorReducers)],
13
        exports: [StarkProgressIndicatorDirective]
14
})
15
export class StarkProgressIndicatorModule {
1✔
16
        /**
17
         * Instantiates the services only once since they should be singletons
18
         * so the `forRoot()` should be called only by the `AppModule`.
19
         *
20
         * See {@link https://v12.angular.io/guide/singleton-services#the-forroot-pattern|Angular docs: The `forRoot()` pattern}
21
         * @returns A module with providers
22
         */
23
        public static forRoot(): ModuleWithProviders<StarkProgressIndicatorModule> {
24
                return {
×
25
                        ngModule: StarkProgressIndicatorModule,
26
                        providers: [{ provide: STARK_PROGRESS_INDICATOR_SERVICE, useClass: StarkProgressIndicatorServiceImpl }]
27
                };
28
        }
29
}
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