Closed ehahn9 closed 2 years ago
@ehahn9 I'm having the same issue. Did you found a solution?
@nicholaschedid no, never did but we ended up dropping react-saga from the project so I didn't continue to investigate.
You can use this patch to fix the issue.
redux-saga-test-plan+4.0.6.patch
In general jest 27 had this [BREAKING CHANGE] Remove Node globals setImmediate and clearImmediate (https://github.com/facebook/jest/pull/11222)
I'm sure it is a newbie mistake, but I am surprised that the
expectSaga()
test below times out. -- advice appreciated!