diff --git a/docs/MockFunctionAPI.md b/docs/MockFunctionAPI.md index 0c7ac9e9960f..bf15e932482c 100644 --- a/docs/MockFunctionAPI.md +++ b/docs/MockFunctionAPI.md @@ -128,7 +128,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()` diff --git a/website/versioned_docs/version-25.x/MockFunctionAPI.md b/website/versioned_docs/version-25.x/MockFunctionAPI.md index 5bb3925c81a1..f7114773e9f0 100644 --- a/website/versioned_docs/version-25.x/MockFunctionAPI.md +++ b/website/versioned_docs/version-25.x/MockFunctionAPI.md @@ -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()` diff --git a/website/versioned_docs/version-26.x/MockFunctionAPI.md b/website/versioned_docs/version-26.x/MockFunctionAPI.md index 5bb3925c81a1..f7114773e9f0 100644 --- a/website/versioned_docs/version-26.x/MockFunctionAPI.md +++ b/website/versioned_docs/version-26.x/MockFunctionAPI.md @@ -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()` diff --git a/website/versioned_docs/version-27.x/MockFunctionAPI.md b/website/versioned_docs/version-27.x/MockFunctionAPI.md index 797536b24de5..d3ea08ac815e 100644 --- a/website/versioned_docs/version-27.x/MockFunctionAPI.md +++ b/website/versioned_docs/version-27.x/MockFunctionAPI.md @@ -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()` diff --git a/website/versioned_docs/version-28.x/MockFunctionAPI.md b/website/versioned_docs/version-28.x/MockFunctionAPI.md index 0b65c68ed57a..bb98f8b1d321 100644 --- a/website/versioned_docs/version-28.x/MockFunctionAPI.md +++ b/website/versioned_docs/version-28.x/MockFunctionAPI.md @@ -128,7 +128,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()` diff --git a/website/versioned_docs/version-29.0/MockFunctionAPI.md b/website/versioned_docs/version-29.0/MockFunctionAPI.md index 0c7ac9e9960f..bf15e932482c 100644 --- a/website/versioned_docs/version-29.0/MockFunctionAPI.md +++ b/website/versioned_docs/version-29.0/MockFunctionAPI.md @@ -128,7 +128,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()`