(parentInjector: EnvironmentInjector)
| 288 | // app-level injector). It is needed to verify `ApplicationRef.destroy` scenarios, which |
| 289 | // includes destroying an underlying injector. |
| 290 | function createApplicationRefInjector(parentInjector: EnvironmentInjector) { |
| 291 | const extraProviders = [{provide: ApplicationRef, useClass: ApplicationRef}]; |
| 292 | |
| 293 | return createEnvironmentInjector(extraProviders, parentInjector); |
| 294 | } |
| 295 | |
| 296 | function createApplicationRef(parentInjector: EnvironmentInjector) { |
| 297 | const injector = createApplicationRefInjector(parentInjector); |
no test coverage detected