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

Commit 4785f01

Browse files
Broccohansl
authored andcommitted
fix(@schematics/angular): Fix broken unit test on new app
1 parent 87b30a8 commit 4785f01

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

+1-1
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)