You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have other examples in the [various](https://github.com/antoinejaussoin/redux-saga-testing/tree/master/jest)[tests](https://github.com/antoinejaussoin/redux-saga-testing/tree/master/mocha)[folders](https://github.com/antoinejaussoin/redux-saga-testing/tree/master/ava).
249
248
249
+
250
+
## FAQ
251
+
252
+
- How can I test a Saga that uses `take` or `takeEvery`?
253
+
254
+
You should separate this generator in two: one that only uses `take` or `takeEvery` (the "watchers"), and the ones that atually run the code when the wait is over, like so:
0 commit comments