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
Simply create Component with this simple command in Angular 7
ng g c component-name --spec false
or if really dont want to include it in any component simply update angular.json
"@schematics/angular": { "component": { "spec": false } }