fetch-mock-jest icon indicating copy to clipboard operation
fetch-mock-jest copied to clipboard

How to ignore FormData?

Open DianaLaa opened this issue 3 years ago • 0 comments

I have a fetch method in our production code that creates new FormData() I suspect this is the reason I keep getting Unmatched POST to [url] error. How do I ignore the body? I've tried matchPartialBody: true in the options, but that does not work.

DianaLaa avatar Nov 19 '22 11:11 DianaLaa