You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constresponse=newResponse();// <=== Response does not have a bodyexpect(response.bodyUsed).toEqual(false);// OKexpect(awaitresponse.text()).toEqual('');expect(response.bodyUsed).toEqual(false);// KO: node-fetch returns true
Reproduction
Same problem with
Response.error()
Expected behavior
Under Chrome 107:
Your Environment
Related issue: nodejs/undici#1794
The text was updated successfully, but these errors were encountered: