Skip to content

Commit

Permalink
Update MockFunctionAPI.md to correct link text
Browse files Browse the repository at this point in the history
Correct the link text for resetMocks configuration.
  • Loading branch information
shinxi committed Jun 9, 2022
1 parent 96dae99 commit be509eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/versioned_docs/version-28.1/MockFunctionAPI.md
Expand Up @@ -134,7 +134,7 @@ Does everything that [`mockFn.mockClear()`](#mockfnmockclear) does, and also rem

This is useful when you want to completely reset a _mock_ back to its initial state. (Note that resetting a _spy_ will result in a function with no return value).

The [`mockReset`](configuration#resetmocks-boolean) configuration option is available to reset mocks automatically before each test.
The [`resetMocks`](configuration#resetmocks-boolean) configuration option is available to reset mocks automatically before each test.

### `mockFn.mockRestore()`

Expand Down

0 comments on commit be509eb

Please sign in to comment.