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
It is very easy to do. While creating the component add
--skipTests=true
ng generate component --skipTests=true componentName
Or
ng g c --skipTests=true componentName