From 4785f0158789d8fee2d5a2b06e2d81b46748cd70 Mon Sep 17 00:00:00 2001 From: Mike Brocchi Date: Wed, 16 May 2018 22:26:49 -0400 Subject: [PATCH] fix(@schematics/angular): Fix broken unit test on new app --- .../angular/application/other-files/app.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/schematics/angular/application/other-files/app.component.spec.ts b/packages/schematics/angular/application/other-files/app.component.spec.ts index b21e40897e..b6a0247dcd 100644 --- a/packages/schematics/angular/application/other-files/app.component.spec.ts +++ b/packages/schematics/angular/application/other-files/app.component.spec.ts @@ -26,6 +26,6 @@ describe('AppComponent', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.debugElement.nativeElement; - expect(compiled.querySelector('h1').textContent).toContain('Welcome to <%= prefix %>!'); + expect(compiled.querySelector('h1').textContent).toContain('Welcome to <%= name %>!'); })); });