Skip to content

Commit

Permalink
Update link to MockFunction (#4821)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuit authored and cpojer committed Nov 2, 2017
1 parent aa822f8 commit 5c22548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/JestObjectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Returns the `jest` object for chaining.
*Note: this method was previously called `autoMockOn`. When using `babel-jest`, calls to `enableAutomock` will automatically be hoisted to the top of the code block. Use `autoMockOn` if you want to explicitly avoid this behavior.*

### `jest.fn(implementation)`
Returns a new, unused [mock function](MockFunctionAPI.html). Optionally takes a mock implementation.
Returns a new, unused [mock function](MockFunctionAPI.md). Optionally takes a mock implementation.

```js
const mockFn = jest.fn();
Expand Down

0 comments on commit 5c22548

Please sign in to comment.