Skip to content

Commit e1b6ae2

Browse files
committed
feat(new): call compileComponents(); in app component spec generated from ng new
1 parent b5b9c63 commit e1b6ae2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/angular-cli/blueprints/ng2/files/__path__/app/app.component.spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ describe('AppComponent', () => {
1414
AppComponent
1515
],
1616
});
17+
TestBed.compileComponents();
1718
});
1819

1920
it('should create the app', async(() => {

0 commit comments

Comments
 (0)