Angular 6 + CLI (TypeScript) - How to stop generating .spec.ts test files
问题 I KNOW IT'S KIND OF A BAD PRACTICE, but pair with me: I'm using Angular-CLI and particularly ng g to generate all of my classes, however, I'm not interested in any test file *.spec.ts and I know that there are two flags ( --inline-template , --inline-style ) to handle inline CSS and HTML instead of separated files. and for spec the default flag is set to true --spec So for each run, yes, I can do so ng g c foo --it --is --spec=false But How to disable the creation of test files globally? is