lundi 9 mai 2016

Redux Async Test with Webpack+karma+etc

I was trying to do a async action test but failed miserable :(

the test in question is this one: http://ift.tt/1Zy8FGI

enter image description here

I'm getting this error message:

1) fill in GET_OPTIONS when fetching all options is done Async Actions undefined is not an object (evaluating 'store.dispatch(actions.getOptions()).then') /Users/persocon/Projects/destiny-weekly/test/test.bundle.js:14669:42 <- webpack:///test/actions/index.spec.jsx:49:7

and I have no clue what that means, if this was to help I'm more confuse then ever.

Aucun commentaire:

Enregistrer un commentaire