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:
parent
cba92db6bf
commit
8f8c5ba12e
|
@ -95,7 +95,7 @@ let lastCreatedRenderer: Renderer2;
|
|||
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',
|
||||
() => {
|
||||
const fixture =
|
||||
|
@ -160,16 +160,17 @@ let lastCreatedRenderer: Renderer2;
|
|||
});
|
||||
|
||||
if (getDOM().supportsDOMEvents()) {
|
||||
fixmeIvy('#FW-750 - fixture.debugElement is null').it('should listen to events', () => {
|
||||
const fixture = TestBed.overrideTemplate(MyComp2, '<input (change)="ctxNumProp = 1">')
|
||||
.createComponent(MyComp2);
|
||||
fixmeIvy('FW-750: fixture.debugElement.children is null')
|
||||
.it('should listen to events', () => {
|
||||
const fixture = TestBed.overrideTemplate(MyComp2, '<input (change)="ctxNumProp = 1">')
|
||||
.createComponent(MyComp2);
|
||||
|
||||
const el = fixture.debugElement.children[0];
|
||||
dispatchEvent(getRenderElement(el.nativeElement), 'change');
|
||||
expect(fixture.componentInstance.ctxNumProp).toBe(1);
|
||||
const el = fixture.debugElement.children[0];
|
||||
dispatchEvent(getRenderElement(el.nativeElement), 'change');
|
||||
expect(fixture.componentInstance.ctxNumProp).toBe(1);
|
||||
|
||||
fixture.destroy();
|
||||
});
|
||||
fixture.destroy();
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue