James Skemp f48dcbf206 | ||
---|---|---|
e2e | ||
src | ||
.editorconfig | ||
.gitignore | ||
README.md | ||
angular.json | ||
package-lock.json | ||
package.json | ||
protractor.conf.js | ||
tsconfig.json | ||
tslint.json |
README.md
Pluralsight's Unit Testing in Angular Course
This course is up to date.
To get started, clone the repo or download it
npm install
npm test
ng test --no-watch --code-coverage
will generate a new coverage folder with a test coverage report.
angular.json can also be updated with the following to create reports every time you test. See Find out how much code you're testing for more information.
However, see https://medium.com/ngconf/angular-unit-testing-code-coverage-lies-603c6c85f801
"test": {
"options": {
"codeCoverage": true
}
}