Skip to content

blove/ngrx-testing

Repository files navigation

Build Status

NgRx Testing

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.

Blog Posts

Check out some blog posts I wrote to get you started with Jest in an Angular project and testing NgRx apps using jasmine-marbles:

Serve

Start up the Angular CLI development server via:

$ ng serve

Build

Build the app via:

$ ng build

Test

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