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
Hello!! I'm doing some testing with MirageJS and React Native, but it is crashing using FormData in requests.
Specifically in the next block of code (pretender.js line 1569) added in this PR #320
Then the app returns an error because body doesn't have a forEach function but it is an instanceof FormData:
TypeError: undefined is not a function (near '...body.forEach...')
scheduleProgressEvent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:131702:25
Hello!! I'm doing some testing with MirageJS and React Native, but it is crashing using FormData in requests.
Specifically in the next block of code (pretender.js line 1569) added in this PR #320
Using console log with body returns these values:
Then the app returns an error because body doesn't have a forEach function but it is an instanceof FormData:
Versions:
The text was updated successfully, but these errors were encountered: