Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Pass lint on README
  • Loading branch information
Brian Gonzalez committed Mar 25, 2018
commit c0ceec0a9293f773ce0316964fdb8fad712d7c61
12 changes: 6 additions & 6 deletions packages/jest-mock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ following members:

##### `.mock`

An object with three members, `calls`, `instances` and `invocationCallOrder`, which are
all lists. The items in the `calls` list are the arguments with which the
function was called. The "instances" list stores the value of 'this' for each
call to the function. This is useful for retrieving instances from a
constructor. The `invocationCallOrder` lists the order in relation to all mock function
calls, starting at 1.
An object with three members, `calls`, `instances` and `invocationCallOrder`,
which are all lists. The items in the `calls` list are the arguments with which
the function was called. The "instances" list stores the value of 'this' for
each call to the function. This is useful for retrieving instances from a
constructor. The `invocationCallOrder` lists the order in relation to all mock
function calls, starting at 1.

##### `.mockReturnValueOnce(value)`

Expand Down