refactor(core): Migrate TestBed.get to TestBed.inject (#32382)
This is cleanup/followup for PR #32200 PR Close #32382
This commit is contained in:

committed by
Matias Niemelä

parent
a64eded521
commit
9166baf709
@ -19,7 +19,7 @@ import {ChildrenOutletContexts, ExtraOptions, NoPreloading, PreloadingStrategy,
|
||||
* Allows to simulate the loading of ng modules in tests.
|
||||
*
|
||||
* ```
|
||||
* const loader = TestBed.get(NgModuleFactoryLoader);
|
||||
* const loader = TestBed.inject(NgModuleFactoryLoader);
|
||||
*
|
||||
* @Component({template: 'lazy-loaded'})
|
||||
* class LazyLoadedComponent {}
|
||||
|
Reference in New Issue
Block a user