goatslacker / goatslacker/alt

How to test async actions

Open
#724 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.