Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 6e0c321

Browse files
committed
fix(@schematics/angular): Fix broken unit test on new app
1 parent 2abbdba commit 6e0c321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schematics/angular/application/other-files/app.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ describe('AppComponent', () => {
2626
const fixture = TestBed.createComponent(AppComponent);
2727
fixture.detectChanges();
2828
const compiled = fixture.debugElement.nativeElement;
29-
expect(compiled.querySelector('h1').textContent).toContain('Welcome to <%= prefix %>!');
29+
expect(compiled.querySelector('h1').textContent).toContain('Welcome to <%= name %>!');
3030
}));
3131
});

0 commit comments

Comments
 (0)