Skip to content
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

Add doc for testings async actions #876

Merged
merged 2 commits into from
Oct 10, 2015

Conversation

takashi
Copy link
Contributor

@takashi takashi commented Oct 10, 2015

No description provided.

gaearon added a commit that referenced this pull request Oct 10, 2015
@gaearon gaearon merged commit fa1d38a into reduxjs:master Oct 10, 2015
@gaearon
Copy link
Contributor

gaearon commented Oct 10, 2015

Great job.
👍

@takashi
Copy link
Contributor Author

takashi commented Oct 10, 2015

@gaearon thx for advising me and merging

@takashi takashi deleted the add-doc-for-testings-async-actions branch October 10, 2015 12:12
@phkavitha
Copy link

@takashi , I'm using the exact code for testing my async action creators. However, the following error is thrown when executing the fetch(url) inside the action creator.

- TypeError: Cannot read property 'then' of undefined

Can you please let me know how I can fix it.

@gaearon
Copy link
Contributor

gaearon commented Dec 29, 2015

Maybe fetch() doesn't return a Promise in your case? Please ask this on StackOverflow with a full example to reproduce the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants