redux-saga-test-plan
redux-saga-test-plan copied to clipboard
testSaga throws TypeError
I am just trying to set up saga tests for a react project. When running the tests it directly fails at this line: const saga = testSaga(sagaName);
The error I get is: TypeError: Cannot read property 'apply' of undefined
Maybe this is something similar to #255 that is already fixed. I double checked to be sure, that the fix #258 is present in my version of redux-test-saga-plan and it is as I am using the latest beta3.
Would be nice, if you can give me a hint or point me in the right direction on what could be wrong here.
Experiencing the same issue. Would greatly appreciate some confirmation about whether or not this is a bug, and if there is a workaround or fix in progress.
@KaHo2912 Sorry for coming back to you so late. Are you still have this issue? If yes. do you mind to share your test case, code as well as package.json.