parent
e0e92cfef6
commit
ee60c7679a
|
@ -462,8 +462,7 @@ onlyInIvy('Ivy i18n logic').describe('i18n', function() {
|
||||||
expect(element).toHaveText('vingt');
|
expect(element).toHaveText('vingt');
|
||||||
});
|
});
|
||||||
|
|
||||||
fixmeIvy('FW-909: ICUs inside <ng-template>s throw errors at runtime')
|
it('should handle ICUs inside <ng-template>', () => {
|
||||||
.it('should handle ICUs inside <ng-template>', () => {
|
|
||||||
const template = `
|
const template = `
|
||||||
<ng-template i18n tplRef>
|
<ng-template i18n tplRef>
|
||||||
{age, select, 10 {ten} 20 {twenty} other {other}}
|
{age, select, 10 {ten} 20 {twenty} other {other}}
|
||||||
|
@ -472,7 +471,7 @@ onlyInIvy('Ivy i18n logic').describe('i18n', function() {
|
||||||
const fixture = getFixtureWithOverrides({template});
|
const fixture = getFixtureWithOverrides({template});
|
||||||
|
|
||||||
const element = fixture.nativeElement;
|
const element = fixture.nativeElement;
|
||||||
expect(element.innerHTML).toBe('vingt');
|
expect(element).toHaveText('vingt');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue