Releases: wheresrhys/fetch-mock-jest
Releases · wheresrhys/fetch-mock-jest
Fix compatibility with fetch-mock 9.10.1+
fix toHaveLastFetched and toHaveNthFetched Was relying on equality of refernce for different calls, but now fetch-mock builds a new cll object each time, so references are different and need to do a manual comparison
node-fetch peer dependency
Merge pull request #24 from wheresrhys/wheresrhys-patch-1 Adds node-fetch peer dependency
Adds type definitions
Merge pull request #23 from skovhus/typescript-types Add TypeScript type definition
Update README
v1.3.1 add install requirements to readme
Method shorthands
Merge pull request #16 from wheresrhys/methodShorthands add methods scoped to http methods
Prevent clash with resetAllMocks()
Merge pull request #15 from wheresrhys/play-nice-resetall don't break when using jest.restoreAllMocks()
upgrade build container
v1.2.7 upgrade node build container
Fixes false positive from toHaveLastFetched
v1.2.6 upgrade prettier
Fixes imitation of jest spy
Merge pull request #10 from wheresrhys/fix-jest-methods fixes bugs in faking that fetch-mock is a normal jest function mock
Even better readme
v1.2.4 Update README.md