| 1646 | }); |
| 1647 | |
| 1648 | @Component({ |
| 1649 | template: ` |
| 1650 | <ng-template #myTemp i18n let-type |
| 1651 | >{type, select, A {A} B {B} other {other - {{ typeC // i18n(ph="PH WITH SPACES") }}}} |
| 1652 | </ng-template> |
| 1653 | |
| 1654 | <div *ngFor="let type of types"> |
| 1655 | <ng-container *ngTemplateOutlet="myTemp; context: {$implicit: type}"> </ng-container> |
| 1656 | </div> |
| 1657 | `, |
| 1658 | |
| 1659 | imports: [CommonModule], |
| 1660 | }) |
| 1661 | class AppComponent { |
| 1662 | types = ['A', 'B', 'C']; |
| 1663 | } |
| 1664 | |
| 1665 | const fixture = TestBed.createComponent(AppComponent); |
| 1666 | fixture.detectChanges(); |
nothing calls this directly
no test coverage detected