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
https://runkit.com/codinbox/nock-delay
13.2.2
16.13.0
No response
When using nock to test timeout with .delay() function, if request timeout not set but agent timeout, the delay does not work.
If timeout is define in request options, delay() function works and a timeout is triggered.
Nock does not check agent timeout when request timeout does not exist.
The text was updated successfully, but these errors were encountered:
fix: delay when timeout is on the Agent
2631efa
resolves #2296
fix: delay when timeout is on the Agent (#2297)
616d903
🎉 This issue has been resolved in version 13.2.3 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Please avoid duplicates
Reproducible test case
https://runkit.com/codinbox/nock-delay
Nock Version
13.2.2
Node Version
16.13.0
TypeScript Version
No response
What happened?
When using nock to test timeout with .delay() function, if request timeout not set but agent timeout, the delay does not work.
If timeout is define in request options, delay() function works and a timeout is triggered.
Nock does not check agent timeout when request timeout does not exist.
Would you be interested in contributing a fix?
The text was updated successfully, but these errors were encountered: