* Runs the given function in the `EnvironmentInjector` context of `TestBed`. * * @see https://angular.dev/api/core/EnvironmentInjector#runInContext
(fn: () => T)
| 410 | * @see {@link https://angular.dev/api/core/EnvironmentInjector#runInContext} |
| 411 | */ |
| 412 | static runInInjectionContext<T>(fn: () => T): T { |
| 413 | return TestBedImpl.INSTANCE.runInInjectionContext(fn); |
| 414 | } |
| 415 | |
| 416 | static createComponent<T>( |
| 417 | component: Type<T>, |
no test coverage detected