generate spec file angular code example
Example 1: generating component in angular without spec file
ng g c --skipTests=true component-name
Example 2: Angular generate without spec
ng generate component --skipTests=true component-name
ng g c --skipTests=true component-name
ng generate component --skipTests=true component-name