jefflau / jest-fetch-mock

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

Fix DOMExeception not defined (#159) #160

Closed yinzara closed 4 years ago

yinzara commented 4 years ago

@jefflau Just need a second pair of eyes. Think this should be fine.

oskarlh commented 2 years ago

DOMException is implemented in Node 17, FYI (though it's missing from the Jest environment "node")

betmix-matt commented 2 years ago

Yes and the current version of the library should be compatible with Node 17 in that way as it doesn't redefine it if it is already defined.