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 |
||
|---|---|---|
| .. | ||
| GOLDEN_PARTIAL.js | ||
| mixed_variants.js | ||
| mixed_variants.ts | ||
| output_in_component.js | ||
| output_in_component.ts | ||
| output_in_directive.js | ||
| output_in_directive.ts | ||
| TEST_CASES.json | ||