From 48e3e28a71807401b9824020aad486769f728d53 Mon Sep 17 00:00:00 2001 From: Tom Mrazauskas Date: Sun, 4 Sep 2022 12:04:46 +0300 Subject: [PATCH] docs: update removal details in `no-deprecated-functions` (#1230) --- docs/rules/no-deprecated-functions.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/rules/no-deprecated-functions.md b/docs/rules/no-deprecated-functions.md index e5c0bca67..63fa808f4 100644 --- a/docs/rules/no-deprecated-functions.md +++ b/docs/rules/no-deprecated-functions.md @@ -20,13 +20,12 @@ This rule can also autofix a number of these deprecations for you. ### `jest.resetModuleRegistry` -This function was renamed to `resetModules` in Jest 15, and is scheduled for -removal in Jest 27. +This function was renamed to `resetModules` in Jest 15 and removed in Jest 27. ### `jest.addMatchers` -This function was replaced with `expect.extend` in Jest 17, and is scheduled for -removal in Jest 27. +This function was replaced with `expect.extend` in Jest 17 and removed in +Jest 27. ### `require.requireActual` & `require.requireMock` @@ -41,10 +40,10 @@ the release of Jest 26 saw them removed from the `require` function altogether. ### `jest.runTimersToTime` -This function was renamed to `advanceTimersByTime` in Jest 22, and is scheduled -for removal in Jest 27. +This function was renamed to `advanceTimersByTime` in Jest 22 and removed in +Jest 27. ### `jest.genMockFromModule` This function was renamed to `createMockFromModule` in Jest 26, and is scheduled -for removal in a future version of Jest. +for removal in Jest 30.