This project is based on a presentation given at the Rocky Mountain Angular meetup. Be sure to check out the NgRx Testing slide deck as well.
Start up the Angular CLI development server via:
$ ng serve
Build the app via:
$ ng build
This project uses Jest (instead of Karma) for running tests. Run the full test suite via:
$ npm run test
You can also run the tests in a watch mode via:
$ npm run test:watch
This project uses Jest snapshot testing. Update the snapshots via:
$ npm run test -- --updateSnapshot
I intend to write a blog post on the topic of testing NgRx using Jest that will explain much of the tests in this project. I just haven't yet. ๐ถ
In the meantime, feel free to check out my blog.