intercepted request won't abort on node 20 w/ [email protected] #2184
Labels
bug
Something isn't working
needs:triage
Issues that have not been investigated yet.
scope:node
Related to MSW running in Node
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: