Skip to content

Commit 9285ee8

Browse files
committed
Merge branch 'main' into docs-consistent-notices-sections
* main: chore(deps): lock file maintenance docs: update removal details in `no-deprecated-functions` (jest-community#1230)
2 parents 50765e6 + f0ef2df commit 9285ee8

File tree

2 files changed

+501
-498
lines changed

2 files changed

+501
-498
lines changed

docs/rules/no-deprecated-functions.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@ This rule can also autofix a number of these deprecations for you.
3030

3131
### `jest.resetModuleRegistry`
3232

33-
This function was renamed to `resetModules` in Jest 15, and is scheduled for
34-
removal in Jest 27.
33+
This function was renamed to `resetModules` in Jest 15 and removed in Jest 27.
3534

3635
### `jest.addMatchers`
3736

38-
This function was replaced with `expect.extend` in Jest 17, and is scheduled for
39-
removal in Jest 27.
37+
This function was replaced with `expect.extend` in Jest 17 and removed in
38+
Jest 27.
4039

4140
### `require.requireActual` & `require.requireMock`
4241

@@ -51,10 +50,10 @@ the release of Jest 26 saw them removed from the `require` function altogether.
5150

5251
### `jest.runTimersToTime`
5352

54-
This function was renamed to `advanceTimersByTime` in Jest 22, and is scheduled
55-
for removal in Jest 27.
53+
This function was renamed to `advanceTimersByTime` in Jest 22 and removed in
54+
Jest 27.
5655

5756
### `jest.genMockFromModule`
5857

5958
This function was renamed to `createMockFromModule` in Jest 26, and is scheduled
60-
for removal in a future version of Jest.
59+
for removal in Jest 30.

0 commit comments

Comments
 (0)