Skip to content

Fix compatibility with fetch-mock 9.10.1+

Latest
Compare
Choose a tag to compare
@wheresrhys wheresrhys released this 26 Nov 18:05
· 6 commits to master since this release
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