(
token: ProviderToken<T>,
notFoundValue?: T | null,
options?: InjectOptions,
)
| 397 | ): T | null; |
| 398 | static inject<T>(token: ProviderToken<T>, notFoundValue?: T, options?: InjectOptions): T; |
| 399 | static inject<T>( |
| 400 | token: ProviderToken<T>, |
| 401 | notFoundValue?: T | null, |
| 402 | options?: InjectOptions, |
| 403 | ): T | null { |
| 404 | return TestBedImpl.INSTANCE.inject(token, notFoundValue, options); |
| 405 | } |
| 406 | |
| 407 | /** |
| 408 | * Runs the given function in the `EnvironmentInjector` context of `TestBed`. |
no test coverage detected