We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I'd really like it if we could test something like the following
expectSaga(mySaga) .provide([ [fork(otherSaga), fakeTaskObj] ]) .fork(otherSaga) .cancel(fakeTaskObj)
my current workaround is to just use some helper functions and call those
call
export function cancelSelf() { return cancel(); } export function cancelTasks(tasks = []) { return cancel(tasks); }
and use them like so
expectSaga(mySaga) .provide([ [fork(otherSaga), fakeTaskObj] ]) .fork(otherSaga) .call(cancelTasks, fakeTaskObj)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, I'd really like it if we could test something like the following
my current workaround is to just use some helper functions and
call
thoseand use them like so
The text was updated successfully, but these errors were encountered: