From 6e0c321492e0e65f0616dbc0861d9e48f6ce15e6 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 df4bc18812..ec908b45dc 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 %>!'); })); });