---
title: "jest 30.5.1 Breaking Changes on npm | Since.dev"
description: "What each jest release removed, renamed or changed: 443 breaking changes in 40 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/jest
last_updated: 2026-12-04
---

# jest breaking changes

jest 30.5.1 (September 1, 2026) is its newest release with breaking changes, 7 of them. The first: Behavior changed coverageReporters. Every breaking API change we have recorded in jest on npm: 443 breaking changes in 40 versions. Below, its 40 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `30.5.2`, released September 18, 2026. [Source repository](https://github.com/jestjs/jest)

Its 30.0.0 release drops Node.js 14, 16, 19, 21 and [23](https://since.dev/calendar/nodejs/23.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [29.7.0](#v-29-7-0) to [30.5.1](#v-30-5-1): 124 breaking changes in 9 versions.
- From [0.5.0](#v-0-5-0) to [30.5.1](#v-30-5-1): 442 breaking changes in 39 versions.

## jest 30.5.1 breaking changes

jest 30.5.1, released September 1, 2026: 7 breaking changes.

- **Behavior changed** `coverageReporters`  

The coverageReporters option in a project config is no longer silently ignored; Jest now warns about it. Move it to the global config. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.1)
- **Behavior changed** `coverageThreshold`  

The coverageThreshold option in a project config is no longer dropped silently; Jest now warns about it. Move it to the global config. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.1)
- **Behavior changed** `cwd`  

The cwd option in a project config is no longer silently ignored; Jest now warns about it. Move it to the global config. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.1)
- **Behavior changed** `maxWorkers`  

The maxWorkers option in a project config is no longer dropped silently; Jest now warns about it. Move it to the global config. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.1)
- **Behavior changed** `reporters`  

The reporters option in a project config is no longer silently ignored; Jest now warns about it. Move it to the global config. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.1)
- **Behavior changed** `runnerOptions`  

The runnerOptions option in a project config is no longer silently ignored; Jest now warns about it. Move it to the global config. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.1)
- **Behavior changed** `workerIdleMemoryLimit`  

The workerIdleMemoryLimit option in a project config is no longer silently ignored; Jest now warns about it. Move it to the global config. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.1)

## jest 30.5.0 breaking changes

jest 30.5.0, released August 28, 2026: 4 breaking changes.

- **Behavior changed**  

The default resolver now follows Node's preserve-symlinks setting, so module paths under symlinked directories may resolve differently when that setting is on. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.0)
- **Behavior changed** `jest.isolateModules`  

A module mock first imported inside jest.isolateModules or isolateModulesAsync no longer stays available after the block ends. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.0)
- **Behavior changed** `moduleFileExtensions`  

Watched files are matched on their full extension, so a setting of \['js'\] no longer picks up .mjs files. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.0)
- **Behavior changed** `moduleNameMapper`  

moduleNameMapper now applies to both fs and node:fs style core module specifiers. Mappings that only matched one spelling may now resolve differently. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.0)

## jest 30.4.0 breaking changes

jest 30.4.0, released May 7, 2026: 2 breaking changes.

- **Behavior changed**  

Calling import() after the Jest environment has been torn down now throws an error, where it previously did not. Tests that relied on the silent behavior must handle the error. [github.com](https://github.com/jestjs/jest/releases/tag/v30.4.0)
- **Behavior changed** `require.resolve`  

require.resolve() called with the paths option now applies moduleNameMapper, so it can resolve to different files than before. Check mapped module paths in tests that use this option. [github.com](https://github.com/jestjs/jest/releases/tag/v30.4.0)

## jest 30.0.0 breaking changes

jest 30.0.0, released June 10, 2025: 71 breaking changes.

- **Removed**  

The minimum supported TypeScript version is now 5.4. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0)
- **Removed**  

Node.js versions 14, 16, 19, 21 and 23 are no longer supported, so upgrade Node.js before using this release. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0)
- **Removed**  

Jest 30 requires Node.js 18.x or later, so older Node versions must be upgraded before upgrading Jest. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed**  

Jest's internal modules are bundled, so deep imports such as jest-runner build paths no longer exist; use public APIs. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `--init`  

The --init argument was removed, so use the alternative setup method instead. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0)
- **Removed** `expect(fn).lastCalledWith`  

Use the primary matcher name instead; the behavior is identical. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `expect(fn).lastReturnedWith`  

Use the primary matcher name instead; the behavior is identical. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `expect(fn).nthCalledWith`  

Use the primary matcher name instead; the behavior is identical. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `expect(fn).nthReturnedWith`  

Use the primary matcher name instead; the behavior is identical. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `expect(fn).toBeCalled`  

Use the primary matcher name instead; the behavior is identical. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)

And 61 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## jest 30.0.0-alpha.6 breaking changes

jest 30.0.0-alpha.6, released June 10, 2025: 2 breaking changes.

- **Removed**  

Jest no longer supports these Node.js versions. Upgrade Node.js before using this release. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.6)
- **Behavior changed** `CalledWith`  

Type checks on CalledWith assertions are stricter, which can break type-checked tests. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.6)

## jest 30.0.0-alpha.5 breaking changes

jest 30.0.0-alpha.5, released June 10, 2025: 1 breaking change.

- **Behavior changed** `watch`  

Callers of watch must pass testPathPatterns as a list of patterns. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.5)

## Older versions

34 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### jest 30.0.0-alpha.3 breaking changes

jest 30.0.0-alpha.3, released June 10, 2025: 3 breaking changes.

- **Behavior changed**  

Flags that need an argument now fail validation when none is given. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.3)
- **Behavior changed**  

The glob dependency moved to a new major version, which may change matching behavior. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.3)

And 1 more in this version.

### jest 30.0.0-alpha.2 breaking changes

jest 30.0.0-alpha.2, released June 10, 2025: 15 breaking changes.

- **Removed** `lastCalledWith`  

Old call-assertion aliases are removed. Use the toHaveBeenCalled-style matchers instead. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.2)
- **Removed** `lastReturnedWith`  

Old call-assertion aliases are removed. Use the toHaveBeenCalled-style matchers instead. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.2)

And 13 more in this version.

### jest 30.0.0-alpha.1 breaking changes

jest 30.0.0-alpha.1, released June 10, 2025: 19 breaking changes.

- **Removed**  

Jest no longer supports these Node.js versions. Upgrade Node.js before using this release. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.1)
- **Removed**  

The minimum supported TypeScript version is now 5.0. Upgrade TypeScript before using this release. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.1)

And 17 more in this version.

### jest 29.7.0 breaking changes

jest 29.7.0, released September 12, 2023: 1 breaking change.

- **Behavior changed** `moduleNameMapper`  

Unmatched capture groups in moduleNameMapper now expand to an empty string rather than undefined. Code that relied on the undefined value may need to check for an empty string instead. [github.com](https://github.com/jestjs/jest/releases/tag/v29.7.0)

### jest 29.6.3 breaking changes

jest 29.6.3, released August 21, 2023: 1 breaking change.

- **Default changed**  

Watch mode runs tests in worker processes by default instead of in-band, which can change how tests share global state. Users who depended on in-band execution in watch mode should configure workers explicitly. [github.com](https://github.com/jestjs/jest/releases/tag/v29.6.3)

### jest 29.4.3 breaking changes

jest 29.4.3, released February 15, 2023: 2 breaking changes.

- **Behavior changed** `jest.resetAllMocks`  

jest.resetAllMocks() no longer restores mocks to their originals. Code that relied on it to restore mocks must call jest.restoreAllMocks() instead. [github.com](https://github.com/jestjs/jest/releases/tag/v29.4.3)
- **Behavior changed** `jest.restoreAllMocks`  

jest.restoreAllMocks() now clears mock state as well as restoring mocks. Code that relied on mock state surviving this call may need to change. [github.com](https://github.com/jestjs/jest/releases/tag/v29.4.3)

### jest 29.4.0 breaking changes

jest 29.4.0, released January 24, 2023: 1 breaking change.

- **Behavior changed**  

JSON imports in ESM code are now checked for import assertions, so imports without one may fail. Add the import assertion to JSON imports in ESM code. [github.com](https://github.com/jestjs/jest/releases/tag/v29.4.0)

### jest 29.0.0 breaking changes

jest 29.0.0, released August 25, 2022: 4 breaking changes.

- **Removed** `collectCoverageOnlyFrom`  

The collectCoverageOnlyFrom config option was removed. Remove it from your config. [github.com](https://github.com/jestjs/jest/releases/tag/v29.0.0)
- **Behavior changed** `babel`  

Inline snapshot updates now let babel find its config, which can change transformed output. [github.com](https://github.com/jestjs/jest/releases/tag/v29.0.0)

And 2 more in this version.

### jest 29.0.0-alpha.1 breaking changes

jest 29.0.0-alpha.1, released August 25, 2022: 1 breaking change.

- **Removed** `pretty-format.plugins.ConvertAnsi`  

The ConvertAnsi plugin was removed in favour of jest-serializer-ansi-escapes. Install that package and use it instead. [github.com](https://github.com/jestjs/jest/releases/tag/v29.0.0-alpha.1)

### jest 29.0.0-alpha.0 breaking changes

jest 29.0.0-alpha.0, released August 25, 2022: 2 breaking changes.

- **Removed**  

Jest 29 no longer supports Node 12 and 17. Upgrade Node before upgrading Jest. [github.com](https://github.com/jestjs/jest/releases/tag/v29.0.0-alpha.0)
- **Behavior changed** `snapshotFormat`  

The default snapshotFormat changed so existing snapshots may differ. Set snapshotFormat explicitly to keep the old output. [github.com](https://github.com/jestjs/jest/releases/tag/v29.0.0-alpha.0)

### jest 28.0.2 breaking changes

jest 28.0.2, released April 27, 2022: 1 breaking change.

- **Default changed**  

The Node 16 requirement is lowered from 16.13 to 16.10 because of a Node bug causing memory and performance issues. Users on Node 16.10 through 16.12 can now run Jest. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.2)

### jest 28.0.0 breaking changes

jest 28.0.0, released April 25, 2022: 21 breaking changes.

- **Removed** `--timers`  

Stop passing the --timers option to the Jest CLI. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.0)
- **Removed** `testURL`  

Use testEnvironmentOptions.url instead of testURL in your Jest config. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.0)

And 19 more in this version.

### jest 28.0.0-alpha.9 breaking changes

jest 28.0.0-alpha.9, released April 25, 2022: 1 breaking change.

- **Removed**  

Minimum supported TypeScript is now 4.3. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.0-alpha.9)

### jest 28.0.0-alpha.7 breaking changes

jest 28.0.0-alpha.7, released April 25, 2022: 1 breaking change.

- **Behavior changed** `jest.resetModules`  

Calling jest.resetModules also clears the file system and transform caches. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.0-alpha.7)

### jest 28.0.0-alpha.5 breaking changes

jest 28.0.0-alpha.5, released April 25, 2022: 3 breaking changes.

- **Renamed** `extraGlobals`  

Rename the config option extraGlobals to sandboxInjectedGlobals. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.0-alpha.5)
- **Renamed** `moduleLoader`  

Rename the config option moduleLoader to runtime. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.0-alpha.5)

And 1 more in this version.

### jest 28.0.0-alpha.4 breaking changes

jest 28.0.0-alpha.4, released April 25, 2022: 1 breaking change.

- **Behavior changed** `globalSetup`  

Additional argument added; existing functions still run. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.0-alpha.4)

### jest 28.0.0-alpha.0 breaking changes

jest 28.0.0-alpha.0, released April 25, 2022: 6 breaking changes.

- **Removed**  

Minimum supported TypeScript is now 4.2. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.0-alpha.0)
- **Removed**  

Jest 28 targets Node 16.13.0 and later. [github.com](https://github.com/jestjs/jest/releases/tag/v28.0.0-alpha.0)

And 4 more in this version.

### jest 27.0.0 breaking changes

jest 27.0.0, released May 25, 2021: 31 breaking changes.

- **Removed** `enabledTestsMap`  

The enabledTestsMap config was removed. Use filter instead. [github.com](https://github.com/jestjs/jest/releases/tag/v27.0.0)
- **Removed** `getSourceMapInfo`  

The deprecated getSourceMapInfo method was removed from Runtime. [github.com](https://github.com/jestjs/jest/releases/tag/v27.0.0)

And 29 more in this version.

### jest 24.0.0 breaking changes

jest 24.0.0, released January 25, 2019: 71 breaking changes.

- **Removed**  

Jest now requires Babel 7 and no longer supports Babel 6. Upgrade your Babel setup. [github.com](https://github.com/jestjs/jest/releases/tag/v24.0.0)
- **Removed**  

Jest no longer injects regenerator-runtime into tests. Import it yourself if your code needs it. [github.com](https://github.com/jestjs/jest/releases/tag/v24.0.0)

And 69 more in this version.

### jest 23.0.0 breaking changes

jest 23.0.0, released May 24, 2018: 7 breaking changes.

- **Removed** `jest.genMockFn`  

Both functions are removed; use jest.fn instead. [github.com](https://github.com/jestjs/jest/releases/tag/v23.0.0)
- **Removed** `jest.genMockFunction`  

Removed alongside jest.genMockFn. [github.com](https://github.com/jestjs/jest/releases/tag/v23.0.0)

And 5 more in this version.

### jest 22.0.0 breaking changes

jest 22.0.0, released December 18, 2017: 6 breaking changes.

- **Removed**  

Jest no longer supports Node.js version 4. Upgrade Node.js before using this release. [github.com](https://github.com/jestjs/jest/releases/tag/v22.0.0)
- **Renamed** `dispose`  

Async test environments now use teardown instead of dispose. Update custom environments to implement teardown. [github.com](https://github.com/jestjs/jest/releases/tag/v22.0.0)

And 4 more in this version.

### jest 21.0.0 breaking changes

jest 21.0.0, released September 4, 2017: 13 breaking changes.

- **Behavior changed** `--listTests`  

Without --json, --listTests now prints a newline-separated list. Scripts that parsed the old output may need updating. [github.com](https://github.com/jestjs/jest/releases/tag/v21.0.0)
- **Behavior changed** `--silent`  

The test summary is no longer printed when --silent is used. Tools that read the summary from silent output may need changes. [github.com](https://github.com/jestjs/jest/releases/tag/v21.0.0)

And 11 more in this version.

### jest 20.0.0 breaking changes

jest 20.0.0, released May 6, 2017: 58 breaking changes.

- **Removed** `Config`  

The Config type was removed from Jest's exports; code importing it must stop using it. [github.com](https://github.com/jestjs/jest/releases/tag/v20.0.0)
- **Removed** `jasmine.CustomEqualityTester.__call`  

CustomEqualityTester.\_\_call was removed in jest 20.0.0 [npmjs.com](https://www.npmjs.com/package/jest/v/20.0.0)

And 56 more in this version.

### jest 19.0.0 breaking changes

jest 19.0.0, released February 21, 2017: 11 breaking changes.

- **Removed** `mocksPattern`  

The mocksPattern config option was removed because it never worked correctly. Remove it from your Jest configuration. [github.com](https://github.com/jestjs/jest/releases/tag/v19.0.0)
- **Renamed** `testPathDirs`  

The testPathDirs configuration option was renamed to roots. Update your configuration to use roots. [github.com](https://github.com/jestjs/jest/releases/tag/v19.0.0)

And 9 more in this version.

### jest 18.0.0 breaking changes

jest 18.0.0, released December 15, 2016: 7 breaking changes.

- **Removed** `mockImpl`  

mockImpl was removed. Use mockImplementation instead. [github.com](https://github.com/jestjs/jest/releases/tag/v18.0.0)
- **Removed** `pit`  

pit was removed. Use it instead. [github.com](https://github.com/jestjs/jest/releases/tag/v18.0.0)

And 5 more in this version.

### jest 17.0.0 breaking changes

jest 17.0.0, released November 8, 2016: 3 breaking changes.

- **Removed** `scriptPreprocessor`  

scriptPreprocessor is replaced by the new transform option, so configuration using it must move to transform. [github.com](https://github.com/jestjs/jest/releases/tag/v17.0.0)
- **Renamed** `jest.clearAllMocks`  

jest.resetAllMocks replaces jest.clearAllMocks; code calling clearAllMocks should switch to resetAllMocks. [github.com](https://github.com/jestjs/jest/releases/tag/v17.0.0)

And 1 more in this version.

### jest 16.0.0 breaking changes

jest 16.0.0, released October 3, 2016: 32 breaking changes.

- **Behavior changed**  

Snapshots that included function names change output, so they need to be updated. [github.com](https://github.com/jestjs/jest/releases/tag/v16.0.0)
- **Behavior changed**  

Snapshot output changes, so most existing snapshots must be updated when upgrading. [github.com](https://github.com/jestjs/jest/releases/tag/v16.0.0)

And 30 more in this version.

### jest 15.0.0 breaking changes

jest 15.0.0, released August 31, 2016: 11 breaking changes.

- **Removed**  

Most Jasmine matchers were completely replaced with new Jest matchers, so code relying on the old Jasmine matchers must be updated. [github.com](https://github.com/jestjs/jest/releases/tag/v15.0.0)
- **Behavior changed**  

Files ending in .spec.js and .test.js are now treated as test files by default, so existing files with those names may start running as tests. [github.com](https://github.com/jestjs/jest/releases/tag/v15.0.0)

And 9 more in this version.

### jest 14.0.0 breaking changes

jest 14.0.0, released July 27, 2016: 12 breaking changes.

- **Removed**  

Jest no longer supports running tests written for Jasmine 1, so such tests must be ported. [github.com](https://github.com/jestjs/jest/releases/tag/v14.0.0)
- **Behavior changed**  

Jest's reporters were rewritten, so test output may differ from earlier versions. [github.com](https://github.com/jestjs/jest/releases/tag/v14.0.0)

And 10 more in this version.

### jest 13.0.0 breaking changes

jest 13.0.0, released June 22, 2016: 2 breaking changes.

- **Removed** `jest-cli`  

The jest-cli package was split up, so code importing or depending on jest-cli must switch to jest-runtime and jest-config. [github.com](https://github.com/jestjs/jest/releases/tag/v13.0.0)
- **Renamed** `TestRunner`  

TestRunner was refactored into SearchSource, so code that references TestRunner must use SearchSource instead. [github.com](https://github.com/jestjs/jest/releases/tag/v13.0.0)

### jest 0.8.0 breaking changes

jest 0.8.0, released May 20, 2016: 1 breaking change.

- **Default changed** `moduleFileExtensions`  

The default moduleFileExtensions now includes node, so modules with that extension are resolved by default. [github.com](https://github.com/jestjs/jest/releases/tag/0.8.0)

### jest 0.7.0 breaking changes

jest 0.7.0, released May 20, 2016: 5 breaking changes.

- **Removed** `mock-modules`  

The undocumented mock-modules virtual module was removed. Usage can be updated with the linked codemod. [github.com](https://github.com/jestjs/jest/releases/tag/0.7.0)
- **Removed** `mocks`  

The undocumented mocks virtual module was removed. Usage can be updated with the linked codemod. [github.com](https://github.com/jestjs/jest/releases/tag/0.7.0)

And 3 more in this version.

### jest 0.6.0 breaking changes

jest 0.6.0, released May 20, 2016: 2 breaking changes.

- **Behavior changed** `toEqual`  

toEqual also compares the internal class name, so assertions like expect(\[\]).toEqual({}) now fail and tests may need fixing. [github.com](https://github.com/jestjs/jest/releases/tag/0.6.0)
- **Signature changed**  

A preprocessor now receives the script, file and config, and the cache key function receives the stringified config too. Custom preprocessors must be updated. [github.com](https://github.com/jestjs/jest/releases/tag/0.6.0)

### jest 0.5.0 breaking changes

jest 0.5.0, released May 20, 2016: 1 breaking change.

- **Behavior changed**  

Jest now only works with io.js v2 and up. Users still on node should upgrade to io.js or stay on jest 0.4.0. [github.com](https://github.com/jestjs/jest/releases/tag/v0.5.0)

## Related packages

- [jest-resolve](https://since.dev/packages/npm/jest-resolve.md)
- [@jest/globals](https://since.dev/packages/npm/@jest/globals.md)
- [expect](https://since.dev/packages/npm/expect.md)
- [jest-environment-jsdom](https://since.dev/packages/npm/jest-environment-jsdom.md)
- [jest-environment-node](https://since.dev/packages/npm/jest-environment-node.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
