December 2017
Beginner
372 pages
10h 32m
English
The spec option is used to configure whether we want to generate the test files along with the component files. By default, it is set to true, meaning the Angular CLI will generate a *.spec.ts file for writing test cases for the component.
Again, the recommended practice is to have the spec files and always write the test cases for our components.
Read now
Unlock full access