-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mocha Async Test (done) #25
Comments
Hi @Hosar, I believe it's currently not possible. When executing the test with storybook, you are using the We are currently investigating on a way to execute the tests server side so that you can use fully jest. #17 (bottom) Also, I'm curious about the motivation behind 'enzyme tests and my redux test'. Is that because you find is more convenient, or you also want to display redux test on storybook? |
Hi @mthuret first thank for this cool plugin, I really like to work with storybook. What I tried to do was to test the behavior of my components. And it's actually working.
So now I can test UI features (enzyme) and expected behavior (redux). And there is no need for done as I was expecting. |
Hey @Hosar, that's nice you find a way to test your redux action along with your component :D Do you think it misses an entry in the documentation for explaining those kind of things? |
I am attempting to address this issue with #47! |
Can we close this issue as per #48? |
Hi, how can I test async actions? It's possible?
I wanted to have my enzyme tests and my redux test on one single place.
But it always returns true even if res is false. Then tried with done, and throw this error: TypeError: done is not a function
It's possible?
Thanks in advance.
The text was updated successfully, but these errors were encountered: