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

Class Child

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

Source from the content-addressed store, hash-verified

183 const CHILD_TOKEN = new InjectionToken<string>('test token for child');
184
185 @NgModule({
186 imports: [RouterModule.forChild([{path: 'child', redirectTo: ''}])],
187 providers: [{provide: CHILD_TOKEN, useValue: 'child'}],
188 })
189 class Child {}
190
191 TestBed.configureTestingModule({
192 providers: [

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
forChildMethod · 0.45

Tested by

no test coverage detected