From 8f8c5ba12e596a82f4e1a06518ecbc0b5ea8c7d7 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 12 Dec 2018 21:38:31 -0800 Subject: [PATCH] test(ivy): improve fixme message in //packages/platform-webworker/test (#27639) the old one was not detailed enough PR Close #27639 --- .../worker/renderer_v2_integration_spec.ts | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/platform-webworker/test/web_workers/worker/renderer_v2_integration_spec.ts b/packages/platform-webworker/test/web_workers/worker/renderer_v2_integration_spec.ts index 7bb1f66920..111a2d45f2 100644 --- a/packages/platform-webworker/test/web_workers/worker/renderer_v2_integration_spec.ts +++ b/packages/platform-webworker/test/web_workers/worker/renderer_v2_integration_spec.ts @@ -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, '') - .createComponent(MyComp2); + fixmeIvy('FW-750: fixture.debugElement.children is null') + .it('should listen to events', () => { + const fixture = TestBed.overrideTemplate(MyComp2, '') + .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(); + }); } }); }