Skip to content

Commit d8fba2d

Browse files
author
Carlos Atencio
committed
Clarification on requestsMade
1 parent ed0ef73 commit d8fba2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ For testing or debugging purposes, it is possible to extract a list of http requ
173173

174174
It is also possible to clear the list of requests with the `clearRequests()` method.
175175

176-
If you wish to only assert a single request made as opposed to the full list of requests, then you can do the following:
176+
If you wish to assert anything but the full list of requests, then you can do the following to piece out the information needed on the requests:
177177

178178
mock.requestsMade().then(function(requests){
179179
expect(requests[1]).toEqual({ url : '/users', method : 'GET' })

0 commit comments

Comments
 (0)