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
If you're using the testSaga function, there isn't a good way to test this, and not a pattern I would like to support. I would favor using fork as it is more explicit what mySaga is doing.
That being said, you can sorta test this with expectSaga, assuming mySubSaga yields an effect like put.
in redux-saga you can write:
seems, that it has same behavior as
yield fork(mySubSaga);
, but I'm not sure how to expect thatmySubSaga
has been yielded in the test plan.Thanks.
The text was updated successfully, but these errors were encountered: