From be509eb2b163e5a324e9d0a1d3749a3e0e8ed9c7 Mon Sep 17 00:00:00 2001 From: Jonathan Xi Date: Thu, 9 Jun 2022 14:03:39 +0800 Subject: [PATCH] Update MockFunctionAPI.md to correct link text Correct the link text for resetMocks configuration. --- website/versioned_docs/version-28.1/MockFunctionAPI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/versioned_docs/version-28.1/MockFunctionAPI.md b/website/versioned_docs/version-28.1/MockFunctionAPI.md index a2750cd9b2c3..e14761853916 100644 --- a/website/versioned_docs/version-28.1/MockFunctionAPI.md +++ b/website/versioned_docs/version-28.1/MockFunctionAPI.md @@ -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()`