generate new component in angular without spec code example
Example 1: angular generate component without spec
--skipTests=true|false. When true, does not create "spec. ts" test files for the new component / directive / class / guard
Example 2: generating component in angular without spec file
ng g c --skipTests=true component-name