jefflau / jest-fetch-mock

Jest mock for fetch
MIT License
882 stars 116 forks source link

Adds polyfill for DOMException #164

Closed carlosmaniero closed 4 years ago

carlosmaniero commented 4 years ago

Fixes #159

I added the DOMException package as a polyfill.

I tested it against my repo where I was facing the same issue related at #159 and it works! :)

I ran all tests, all passes, but there is some issue around the types processing. But it doesn't seem to be related to my change.

yinzara commented 4 years ago

Sorry I forgot I already did all this work. See #160