Use of AbortSignal causes "Cannot construct a Request with a Request object that has already been used." error #1924
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
v21.4.0
Reproduction repository
https://github.com/ezzatron/msw-abort-signal-repro
Reproduction steps
npm ci
npm test
Current behavior
Instead of producing an abort error, the repro code produces the following error, despite only a single request ever being made:
See example output: https://github.com/ezzatron/msw-abort-signal-repro/actions/runs/7177213214/job/19543363576#step:5:25
Expected behavior
The reproduction code should produce an abort error consistent with use of an
AbortSignal
.The text was updated successfully, but these errors were encountered: