/PSAngularUnitTestingCourse

files & status for my Pluralsight course on Unit Testing

Primary LanguageTypeScript

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
  }
}