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 a3714db
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/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
2 changes: 1 addition & 1 deletion website/versioned_docs/version-25.x/MockFunctionAPI.md
Expand Up @@ -93,7 +93,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
2 changes: 1 addition & 1 deletion website/versioned_docs/version-26.x/MockFunctionAPI.md
Expand Up @@ -93,7 +93,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
2 changes: 1 addition & 1 deletion website/versioned_docs/version-27.x/MockFunctionAPI.md
Expand Up @@ -103,7 +103,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
2 changes: 1 addition & 1 deletion website/versioned_docs/version-28.0/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
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 a3714db

Please sign in to comment.