TestBed.overrideComponent doesn't update standalone components #48432
Labels
area: testing
Issues related to Angular testing features, such as TestBed
bug
cross-cutting: standalone
Issues related to the NgModule-less world
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Milestone
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
No
Description
This removes imports - expected.
This doesn't change imports - unexpected.
There is stackblitz example - simply copy/paste the
test.spec.ts
to an angular v15 (v14 has his issue too) project.Please provide a link to a minimal reproduction of the bug
https://github.com/satanTime/ng-mocks/blob/issues/4486/tests/issue-4486/angular.spec.ts
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: