Closed DougReeder closed 1 year ago
I see code for this was added on 2021-03-19 by Matthew Simpson. The "instagram" test appears to test this. I will investigate why it's not working for me.
Ah, there hasn't been a release in two years. May I suggest it's time to publish version 3.0.4 to NPM?
Just noting that I ran into this as well, has it been released?
This appears to be a duplicate of https://github.com/jefflau/jest-fetch-mock/issues/192
Indeed it is. What can be done to get a new release out?
fetch allows the first argument to be a Request or "A string or any other object with a stringifier — including a URL object — that provides the URL of the resource you want to fetch."
If the first argument to fetch is not a string or Request, but does have a .toString() method, that should be called, instead of throwing the error "Unable to parse input as string or Request"