Skip to content

Testing NgRx with jest and jasmine-marbles

Notifications You must be signed in to change notification settings

adrianpunkt/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

About

Testing NgRx with jest and jasmine-marbles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.5%
  • HTML 1.7%
  • JavaScript 1.7%
  • CSS 0.1%