Closed prymitive closed 5 years ago
After installing jest-fetch-mock@1.7.0
There is a merge conflict result here
node_modules/jest-fetch-mock/src/index.js
<<<<<<< HEAD
const crossFetch = require('cross-fetch')
global.fetch = crossFetch
global.Response = crossFetch.Response
global.Headers = crossFetch.Headers
global.Request = crossFetch.Request
=======
require('isomorphic-fetch')
>>>>>>> master
Thanks, I made a mistake. I'll push a new one now
I've pushed a fix - can you check it works correctly? Thanks!
Thanks @jefflau. Also, I have added a comment on your last commit. Please review.
Thanks, I fixed that too
Yes, works fine for me, thanks!
Thanks. Do you also plan to add the yarn.lock file? @jefflau
Looks good now, thanks
Might be a good idea to mark the 1.7.0 version as deprecated on npm. Our greenkeeper tried to install this and I guess marking it as deprecated would just make tools like this skip that version.
Thanks, I've done that now
Looks like index.js code includes a left over line from a merge conflict https://github.com/jefflau/jest-fetch-mock/blob/master/src/index.js#L1 and because of that latest release doesn't work - https://travis-ci.com/prymitive/karma/jobs/157582009#L488