jefflau / jest-fetch-mock

Jest mock for fetch
MIT License
886 stars 117 forks source link

Latest version published with git output in package source #92

Closed bendemaree closed 5 years ago

bendemaree commented 5 years ago

The latest published version (1.7.0, 9226e722de6d624550fd9068467132e817667f65) includes some output from git in 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
jefflau commented 5 years ago

Fixed - please confirm it has been fixed in 1.7.1

bendemaree commented 5 years ago

@jefflau 1.7.1 works; thank you! Also, apologies; I see I accidentally duplicated #91.