Newer
Older
til / angular / 20231113_skip_tests.html

<h3>Skip Tests When Generating Components</h3>

<p>
For what ever reason I have a mental block about remembering the flag to keep
angular from generating the spec file.  Therefore, in an attempt to help me
remember I'm adding it here.  Hopefully the act of writing it down will help.
</p>

<code>
ng g c some_folder/somefile --skip-tests=true
</code>

or without the "="

<code>
ng g c some_folder/somefile --skip-tests true
</code>