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
cloneableGenerator doesn't keep calls of throw and return in its history (https://github.com/redux-saga/redux-saga/blob/master/packages/testing-utils/src/index.js#L17). As a result, when testing a code flow that depends on exceptions, clone doesn't work as expected because it skips throw and return calls previously performed.
cloneableGenerator
throw
return
clone
I created this issue as a question because I wasn't sure if this was intentional or a bug. Is this by design?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
cloneableGenerator
doesn't keep calls ofthrow
andreturn
in its history (https://github.com/redux-saga/redux-saga/blob/master/packages/testing-utils/src/index.js#L17). As a result, when testing a code flow that depends on exceptions,clone
doesn't work as expected because it skipsthrow
andreturn
calls previously performed.I created this issue as a question because I wasn't sure if this was intentional or a bug. Is this by design?
The text was updated successfully, but these errors were encountered: