test(ivy): improve fixme message in //packages/platform-webworker/test (#27639)

the old one was not detailed enough

PR Close #27639
This commit is contained in:
Igor Minar 2018-12-12 21:38:31 -08:00 committed by Miško Hevery
parent cba92db6bf
commit 8f8c5ba12e

View File

@ -95,7 +95,7 @@ let lastCreatedRenderer: Renderer2;
expect(renderEl).toHaveText('Hello World!'); expect(renderEl).toHaveText('Hello World!');
}); });
fixmeIvy('#FW-750 - fixture.debugElement is null') fixmeIvy('FW-750: fixture.debugElement.children is null')
.it('should update any element property/attributes/class/style(s) independent of the compilation on the root element and other elements', .it('should update any element property/attributes/class/style(s) independent of the compilation on the root element and other elements',
() => { () => {
const fixture = const fixture =
@ -160,16 +160,17 @@ let lastCreatedRenderer: Renderer2;
}); });
if (getDOM().supportsDOMEvents()) { if (getDOM().supportsDOMEvents()) {
fixmeIvy('#FW-750 - fixture.debugElement is null').it('should listen to events', () => { fixmeIvy('FW-750: fixture.debugElement.children is null')
const fixture = TestBed.overrideTemplate(MyComp2, '<input (change)="ctxNumProp = 1">') .it('should listen to events', () => {
.createComponent(MyComp2); const fixture = TestBed.overrideTemplate(MyComp2, '<input (change)="ctxNumProp = 1">')
.createComponent(MyComp2);
const el = fixture.debugElement.children[0]; const el = fixture.debugElement.children[0];
dispatchEvent(getRenderElement(el.nativeElement), 'change'); dispatchEvent(getRenderElement(el.nativeElement), 'change');
expect(fixture.componentInstance.ctxNumProp).toBe(1); expect(fixture.componentInstance.ctxNumProp).toBe(1);
fixture.destroy(); fixture.destroy();
}); });
} }
}); });
} }