angular cli no test
ng g c component-name --skip-tests
Here is what the above code is Doing:
1. Create a new Angular project called angular-tour-of-heroes
2. Change directory to the new project
3. Create a new component called dashboard
4. Skip the tests