MCPcopy Create free account
hub / github.com/angular/angular / LoadedModule

Class LoadedModule

packages/router/test/router_preloader.spec.ts:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76 describe('configurations with canLoad guard', () => {
77 @NgModule({
78 declarations: [LazyLoadedCmp],
79 providers: [
80 {
81 provide: ROUTES,
82 multi: true,
83 useValue: [{path: 'LoadedModule1', component: LazyLoadedCmp}],
84 },
85 ],
86 })
87 class LoadedModule {}
88
89 beforeEach(() => {
90 TestBed.configureTestingModule({

Callers

nothing calls this directly

Calls 6

NgModuleInterface · 0.90
provideLocationMocksFunction · 0.90
provideRouterFunction · 0.90
setTimeoutFunction · 0.85
thenMethod · 0.65
forChildMethod · 0.45

Tested by

no test coverage detected