jest-fetch-mock
jest-fetch-mock copied to clipboard
Headers.entries is undefined.
I believe this is because this project uses isomorphic-fetch, which is still using node-fetch version 1, which does not treat headers as iterables. I'm struggling with this too.
It seems that using https://github.com/lquixada/cross-fetch as a polyfill has solved my issue.