mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
6acae1477a
This commit adds `TestBed.runInInjectionContext` which is equivalent to `TestBed.inject(EnvironmentInjector).runInContext`. This function will help make tests for functions which call `inject` from `@angular/core` a little bit less verbose. PR Close #47955
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT