Skip to content

Commit ca91238

Browse files
authored
docs: document that callhistory methods have moved
1 parent f3246bb commit ca91238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/Usage/upgrade-guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Similar to the last point, `.once()`, `.get()`, `.post()`, `getOnce()`, `postOnc
2626

2727
### Call history methods changed
2828

29-
The filtering behaviour has been rewritten around named routes, and methods return CallLog objects that contain far more metadata about the call. [Call history docs](/fetch-mock/docs/API/CallHistory)
29+
The filtering behaviour has been rewritten around named routes, and methods return CallLog objects that contain far more metadata about the call. All methods, including, `done()` shoudl now be called on `fetchMock.callHistory` (not `fetchMock`). [Call history docs](/fetch-mock/docs/API/CallHistory).
3030

3131
### Relative URLs not permitted by default in Node.js
3232

0 commit comments

Comments
 (0)