goatslacker / alt

Isomorphic flux implementation
http://alt.js.org/
3.45k stars 323 forks source link

How to test async actions #724

Open timurridjanovic opened 6 years ago

timurridjanovic commented 6 years ago

It would be great to add an example in the docs on how to test async actions with data sources and check that success and error actions are dispatched appropriately.

I'm struggling to grasp how to best do that and the current one example for testing actions is a little simple