Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Releases: wheresrhys/fetch-mock-jest

Fix compatibility with fetch-mock 9.10.1+

26 Nov 18:05
Compare
Choose a tag to compare
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

21 Nov 22:33
e9a5fcf
Compare
Choose a tag to compare
Merge pull request #24 from wheresrhys/wheresrhys-patch-1

Adds node-fetch peer dependency

Adds type definitions

21 Nov 22:30
c35a560
Compare
Choose a tag to compare
Merge pull request #23 from skovhus/typescript-types

Add TypeScript type definition

Update README

05 Sep 21:35
bf3bc05
Compare
Choose a tag to compare
v1.3.1

add install requirements to readme

Method shorthands

05 May 19:27
16c55e0
Compare
Choose a tag to compare
Merge pull request #16 from wheresrhys/methodShorthands

add methods scoped to http methods

Prevent clash with resetAllMocks()

04 May 20:30
5f3e846
Compare
Choose a tag to compare
Merge pull request #15 from wheresrhys/play-nice-resetall

don't break when using jest.restoreAllMocks()

upgrade build container

15 Apr 19:54
Compare
Choose a tag to compare
v1.2.7

upgrade node build container

Fixes false positive from toHaveLastFetched

15 Apr 19:47
Compare
Choose a tag to compare

Fixes imitation of jest spy

04 Apr 17:10
f92b61c
Compare
Choose a tag to compare
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

14 Mar 18:41
592919f
Compare
Choose a tag to compare
v1.2.4

Update README.md