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

Class LoadedModule2

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

Source from the content-addressed store, hash-verified

138 const testModule = TestBed.inject(NgModuleRef) as any;
139 const events: Array<RouteConfigLoadStart | RouteConfigLoadEnd> = [];
140 @NgModule({
141 declarations: [LazyLoadedCmp],
142 imports: [RouterModule.forChild([{path: 'LoadedModule2', component: LazyLoadedCmp}])],
143 })
144 class LoadedModule2 {}
145
146 @NgModule({
147 imports: [

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
forChildMethod · 0.45

Tested by

no test coverage detected