issues
search
miragejs
/
mirage-msw
4
stars
4
forks
source link
Pass MockedRequest with additional getters to mirage handler
#4
Closed
mrloop
closed
1 year ago
mrloop
commented
1 year ago
In my case I want to use the getter
body
with parsed form-data
https://github.com/mswjs/msw/blob/main/src/utils/request/MockedRequest.ts
https://github.com/mswjs/msw/blob/156e80bd39dde08fcf0cb9e7c93221798fe8e3c9/src/utils/request/parseBody.ts#L20
In my case I want to use the getter
body
with parsed form-data