Scenario
We want to run ng g c start
to generate a start
component without the corresponding start.component.spec.ts
file.
Approach
While create the project p
do this:
ng new p --skip-tests
If already in an existing project then do this when generating a home
component:
ng g c home --spec=false