Generating Component without spec.ts file in Angular 2+

Updated for Angular >=8 CLI For one component use the following command: ng generate component –skip-tests=true component-name For a single project, change or add the following in your angular.json: { “projects”: { “{PROJECT_NAME}”: { “schematics”: { “@schematics/angular:component”: { “skipTests”: true } } } } } For a global setting for all your projects, change or … Read more