How to test async actions
Open
- Dominant language
- JavaScript
- Stars
- 3.4k
- Forks
- 312
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
Research direction
Review the existing action-testing example in the documentation, then trace how async actions use data sources. Add an example that checks both success and error actions are dispatched, and verify that it addresses the gap described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, testing
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100