stop generate test file angular cli code example Example: angular cli don't generate spec ng g component componentName --skipTests=true