I know it\'s kind of a bad practice, but bear with me:
I\'m using Angular-CLI, particularly ng g
to generate all of my classes. However
Just to update Sabbir Rahman's answer:
In version 1.0.2 of the CLI you will have to set the spec file to false for each individual type. An example is included below:
"defaults": {
"styleExt": "scss",
"component": {
"spec": false
},
"service": {
"spec": false
},
"directive": {
"spec": false
},
"class": {
"spec": false // Set to false by default
},
"module": {
"spec": false // Set to false by default
},
"pipe": {
"spec": false
}
}