kiskv / saga-testing-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redux Saga Testing Examples

This is a demonstration of different approaches to testing Redux Sagas. Have a look at this blog post for an explanation!

See sagas-step-by-step.test.js and sagas-whole.test.js for the example tests.

Installing

yarn install

Testing

yarn test

Running

yarn start

Add the Chrome Redux Devtools to see the actions that get dispatched.

About


Languages

Language:JavaScript 86.5%Language:HTML 10.7%Language:CSS 2.8%