| 1679 | }); |
| 1680 | |
| 1681 | @Component({ |
| 1682 | selector: 'app', |
| 1683 | template: ` |
| 1684 | <ng-template #myTemp i18n let-type |
| 1685 | >{type, select, A {A} B {B} other {other - {{ typeC // i18n(ph="PH WITH SPACES") }}}} |
| 1686 | </ng-template> |
| 1687 | |
| 1688 | <div *ngFor="let type of types"> |
| 1689 | <ng-container *ngTemplateOutlet="myTemp; context: {$implicit: type}"> </ng-container> |
| 1690 | </div> |
| 1691 | `, |
| 1692 | standalone: false, |
| 1693 | |
| 1694 | changeDetection: ChangeDetectionStrategy.Eager, |
| 1695 | }) |
| 1696 | class AppComponent { |
| 1697 | types = ['A', 'B', 'C']; |
| 1698 | } |
| 1699 | |
| 1700 | TestBed.configureTestingModule({declarations: [AppComponent]}); |
| 1701 |
nothing calls this directly
no test coverage detected
searching dependent graphs…