mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
dfba192706
Previously, the code in TestBed didn't take into account the fact that the `cmp.dependencies` array after the AOT compilation might contain regular (NgModule-based) Components/Directive/Pipes. As a result, some NgModule-specific code paths were invoked for non-NgModule types, thus leading to errors. This commit updates the code to handle AOT-compiled structure of standalone components correctly. PR Close #46052
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