@jest/core
30.5.2 · 18 Sep 2026MIT60.2M / weekRepositoryHomepagenpmAtom feed
26.6.3 is the newest release of 26.x.
In short
11 breaking2 new6 fixed5 internal
- breaking
jest-environment-jsdom: Upgrade
jsdomto v16 - breaking
jest-circus: Fail tests if a test takes a done callback and have return values
- breaking
jest-circus: Throw a proper error if a test / hook is defined asynchronously
- breaking
jest-circus: Align execution order of tests to match
jasmine's top to bottom order - breaking
jest-config, jest-resolve: Remove support for
browserfield - breaking
*: TypeScript definitions requires a minimum of TypeScript v3.8
- breaking
*: Drop support for Node 8
- breaking
expect, jest-mock, pretty-format: Remove
build-es5from package
Release note
Features
- breaking
jest-environment-jsdom: Upgrade
jsdomto v16 @jest/fake-timers: Add possibility to use a modern implementation of fake timers, backed by
@sinonjs/fake-timersjest-runtime: Add
createMockFromModuleas an alias forgenMockFromModule
Fixes
babel-jest: Handle
nullbeing passed tocreateTransformer[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format]Fix time durating formatting and consolidate time formatting code- breaking
jest-circus: Fail tests if a test takes a done callback and have return values
- breaking
jest-circus: Throw a proper error if a test / hook is defined asynchronously
jest-circus: Throw more descriptive error if hook is defined inside test
- breaking
jest-circus: Align execution order of tests to match
jasmine's top to bottom order - breaking
jest-config, jest-resolve: Remove support for
browserfield jest-haste-map: Stop reporting files as changed when they are only accessed
jest-resolve: Show relative path from root dir for
module not founderrorsjest-runtime: Fix absolute path moduleNameMapper + jest.mock bug
Chore & Maintenance
- breaking
*: TypeScript definitions requires a minimum of TypeScript v3.8
- breaking
*: Drop support for Node 8
- breaking
expect, jest-mock, pretty-format: Remove
build-es5from package - breaking
@jest/fake-timers, @jest/environment: Rename
LolexFakeTimerstoModernFakeTimers - breaking
jest-haste-map: Removed
providesModuleNodeModules - breaking
jest-runtime: Remove long-deprecated
require.requireActualandrequire.requireMockmethods