Skip to content

Commit

Permalink
Updated readme and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflau committed Aug 24, 2016
1 parent f5fe497 commit b2a613c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
npm-debug.log
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Add the setupFile to your jest config in package.json:
* `fetch.mockResponse(body, init)` - Mock all fetch calls
* `fetch.mockResponseOnce(body, init)` - Mock each fetch call independently
* `fetch.mockResponses(...responses)` - Mock multiple fetch calls independently
* Each argument is an array taking [body, init]
* Each argument is an array taking `[body, init]`


For information on the parameters body and init take, you can look at the MDN docs on the Response Constructor function, which `jest-fetch-mock` uses under the surface.
Expand Down

0 comments on commit b2a613c

Please sign in to comment.