Open HridayK97 opened 4 years ago
I encountered the same problem too... Here is what result I get inside next(...)
console.log
{
value: {
'@@redux-saga/IO': true,
combinator: false,
type: 'FORK',
payload: { context: null, fn: [Function: takeLatest], args: [Array] }
},
done: false
}
@HridayK97 @CrushyChilli I think you should use takeLatest
instead of takeLatestEffect
Breaking changes as of 4.0.0.
takeLatestEffect
and others have been renamed.
My Test:
I get a "TypeError: (0 , _reduxSagaTestPlan.testSaga)(...).next(...).takeLatestEffect is not a function" when running the jest test runner. Is this the correct usage? Any clue why this is happening?
redux-saga: 1.1.1 redux-saga-test-plan: 4.0.0-rc.3