spec false in angular code example
Example 1: spec false not working
ng generate component --skipTests=true component-name
Example 2: angular cli spec test false
--skipTests=false
ng generate component --skipTests=true component-name
--skipTests=false