goatslacker / alt

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

Wait for store function to complete #710

Open darrenchiu opened 7 years ago

darrenchiu commented 7 years ago

I tried to follow the instructions in the testing example and found that the assertions will get failed before the set state and processing in store is done. How should I properly testing the store functions? Thanks a lot