Angular Testing¶
Info
- Test files need to be named with the
.spec.ts
extension. - Also it is recommended to place test files in same directory as the file being tested.
- Reference
ng test <project-name>
Create custom config karma.conf.js
:
ng generate config karma
Continuous Integration (CI)¶
ng test --no-watch --no-progress