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
msw
v20.6.1
https://github.com/gerbyzation/msw-node20-undici-fetch-abort-repro
Setup:
git clone https://github.com/gerbyzation/msw-node20-undici-fetch-abort-repro cd msw-node20-undici-fetch-abort-repro pnpm i
To demonstrate the abort doesn't work with an MSW handler, but does work without run the two scripts below:
node not-working-abort.mjs node working-abort.mjs
Request completes without throwing an abort error
fetch should throw an abort error
fetch
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisites
Environment check
msw
versionNode.js version
v20.6.1
Reproduction repository
https://github.com/gerbyzation/msw-node20-undici-fetch-abort-repro
Reproduction steps
Setup:
To demonstrate the abort doesn't work with an MSW handler, but does work without run the two scripts below:
Current behavior
Request completes without throwing an abort error
Expected behavior
fetch
should throw an abort errorThe text was updated successfully, but these errors were encountered: