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