test(ivy): root causes update for 'platform-browser-dynamic' and i18n tests (#27972)
PR Close #27972
This commit is contained in:
parent
e6ab55daa0
commit
f5471107d9
@ -451,8 +451,7 @@ onlyInIvy('Ivy i18n logic').describe('i18n', function() {
|
|||||||
expect(element).toHaveText('vingt - deux');
|
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>', () => {
|
||||||
.it('should handle ICUs inside <ng-container>', () => {
|
|
||||||
const template = `
|
const template = `
|
||||||
<ng-container i18n>
|
<ng-container i18n>
|
||||||
{age, select, 10 {ten} 20 {twenty} other {other}}
|
{age, select, 10 {ten} 20 {twenty} other {other}}
|
||||||
@ -461,7 +460,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');
|
||||||
});
|
});
|
||||||
|
|
||||||
fixmeIvy('FW-909: ICUs inside <ng-template>s throw errors at runtime')
|
fixmeIvy('FW-909: ICUs inside <ng-template>s throw errors at runtime')
|
||||||
|
@ -63,8 +63,8 @@ if (isBrowser) {
|
|||||||
{providers: [{provide: FancyService, useValue: new FancyService()}]});
|
{providers: [{provide: FancyService, useValue: new FancyService()}]});
|
||||||
});
|
});
|
||||||
|
|
||||||
fixmeIvy('unknown').it(
|
fixmeIvy('FW-919: TestBed.get should be able to retrieve tokens from Compiler\'s injector')
|
||||||
'provides a real ResourceLoader instance',
|
.it('provides a real ResourceLoader instance',
|
||||||
inject([ResourceLoader], (resourceLoader: ResourceLoader) => {
|
inject([ResourceLoader], (resourceLoader: ResourceLoader) => {
|
||||||
expect(resourceLoader instanceof ResourceLoaderImpl).toBeTruthy();
|
expect(resourceLoader instanceof ResourceLoaderImpl).toBeTruthy();
|
||||||
}));
|
}));
|
||||||
@ -80,7 +80,8 @@ if (isBrowser) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe('Compiler', () => {
|
describe('Compiler', () => {
|
||||||
fixmeIvy('unknown').it('should return NgModule id when asked', () => {
|
fixmeIvy('FW-855: TestBed.get(Compiler) should return TestBed-specific Compiler instance')
|
||||||
|
.it('should return NgModule id when asked', () => {
|
||||||
@NgModule({
|
@NgModule({
|
||||||
id: 'test-module',
|
id: 'test-module',
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user