Is there a way to get rid of the spec.ts file in Angular 2+, whenever I create a new component. I know this is for testing purpose but what if I don\'t need it.
May be t
If you would like to skip spec file for specific component.
New version:
ng generate component "componentName" --skipTests
Example
ng generate component recipe-list --skipTests
Old version :
ng generate component "componentName" --spec false
ng generate component recipe-list --spec false