mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Currently if `TestBed.overrideComponent` is used on a class that uses initializer APIs (e.g. `input()`), the initializer metadata will be wiped out, because `overrideComponent` re-compiles the class with the information set by `setClassMetadata`. `setClassMetadata` only captures decorated members at the moment. These changes introduce some logic to capture the new initializer-based APIs in `setClassMetadata` as well. Fixes #57944. PR Close #63957 |
||
|---|---|---|
| .. | ||
| external_templates | ||
| inline_templates | ||