Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Only call getResumptionRequestFn once (#1593)
* Only call getResumptionRequestFn once The current code calls getResumptionRequestFn twice when the result from the first call can be reused. For clients implementing retries, we only want one call to getResumptionRequestFn to be done per request because we don’t want the state that getResumptionRequestFn relies on to be modified twice. * fix: Only call getResumptionRequestFn once * Add a sinon spy to make sure the fn is called once * Remove only * ran linter --------- Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
- Loading branch information