test(ivy): root causes update for 'platform-browser-dynamic' and i18n tests (#27972)
PR Close #27972
This commit is contained in:

committed by
Kara Erickson

parent
e6ab55daa0
commit
f5471107d9
@ -451,18 +451,17 @@ onlyInIvy('Ivy i18n logic').describe('i18n', function() {
|
||||
expect(element).toHaveText('vingt - deux');
|
||||
});
|
||||
|
||||
fixmeIvy('FW-908: ICUs inside <ng-container>s throw an error at runtime')
|
||||
.it('should handle ICUs inside <ng-container>', () => {
|
||||
const template = `
|
||||
<ng-container i18n>
|
||||
{age, select, 10 {ten} 20 {twenty} other {other}}
|
||||
</ng-container>
|
||||
`;
|
||||
const fixture = getFixtureWithOverrides({template});
|
||||
it('should handle ICUs inside <ng-container>', () => {
|
||||
const template = `
|
||||
<ng-container i18n>
|
||||
{age, select, 10 {ten} 20 {twenty} other {other}}
|
||||
</ng-container>
|
||||
`;
|
||||
const fixture = getFixtureWithOverrides({template});
|
||||
|
||||
const element = fixture.nativeElement;
|
||||
expect(element.innerHTML).toBe('vingt');
|
||||
});
|
||||
const element = fixture.nativeElement;
|
||||
expect(element).toHaveText('vingt');
|
||||
});
|
||||
|
||||
fixmeIvy('FW-909: ICUs inside <ng-template>s throw errors at runtime')
|
||||
.it('should handle ICUs inside <ng-template>', () => {
|
||||
|
Reference in New Issue
Block a user