How redux-saga-tester works
masterUnlike standard redux-saga testing methods that rely on step-by-step yield inspection (which is fragile and tightly coupled to implementation details), redux-saga-tester uses a black-box approach.
It provides a full Redux environment to run your sagas in. This allows you to:
- Dispatch actions to trigger sagas.
- Observe the state of the store at any time.
- Retrieve a history of all dispatched actions.
- Listen for specific actions to occur using promises.