diff --git a/packages/schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template b/packages/schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template index 96d886b3bcea..1ce9bc7bc745 100644 --- a/packages/schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template +++ b/packages/schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template @@ -11,7 +11,7 @@ describe('<%= classify(name) %><%= classify(type) %>', () => { <%= standalone ? 'imports' : 'declarations' %>: [<%= classify(name) %><%= classify(type) %>] }) .compileComponents(); - + fixture = TestBed.createComponent(<%= classify(name) %><%= classify(type) %>); component = fixture.componentInstance; fixture.detectChanges();