| 314 | } |
| 315 | |
| 316 | class RootModule { |
| 317 | static ɵinj = ɵɵdefineInjector({ |
| 318 | imports: [ChildModule], |
| 319 | providers: [], |
| 320 | }); |
| 321 | constructor() { |
| 322 | moduleRegistrations.push('RootModule'); |
| 323 | } |
| 324 | } |
| 325 | createInjector(RootModule); |
| 326 | expect(moduleRegistrations).toEqual(['ChildModule', 'RootModule']); |
| 327 | }); |
nothing calls this directly
no test coverage detected
searching dependent graphs…