项目作者: blove

项目描述 :
Testing NgRx with jest and jasmine-marbles
高级语言: TypeScript
项目地址: git://github.com/blove/ngrx-testing.git
创建时间: 2018-05-08T03:30:50Z
项目社区:https://github.com/blove/ngrx-testing

开源协议:

下载


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:

  1. $ ng serve

Build

Build the app via:

  1. $ ng build

Test

This project uses Jest (instead of Karma) for running tests.
Run the full test suite via:

  1. $ npm run test

You can also run the tests in a watch mode via:

  1. $ npm run test:watch

This project uses Jest snapshot testing.
Update the snapshots via:

  1. $ npm run test -- --updateSnapshot