* Runs the given function in the `EnvironmentInjector` context of `TestBed`. * * @see https://angular.dev/api/core/EnvironmentInjector#runInContext
(fn: () => T)
| 428 | * @see {@link https://angular.dev/api/core/EnvironmentInjector#runInContext} |
| 429 | */ |
| 430 | static runInInjectionContext<T>(fn: () => T): T { |
| 431 | return TestBedImpl.INSTANCE.runInInjectionContext(fn); |
| 432 | } |
| 433 | |
| 434 | static createComponent<T>( |
| 435 | component: Type<T>, |
no test coverage detected