@jest/fake-timers
30.5.2 · 18 Sep 2026MIT78.4M / weekRepositoryHomepagenpmAtom feed
25.5.0 is the newest release of 25.x.
In short
1 breaking6 new1 faster23 fixed7 internal
- breaking
jest-haste-map: Remove
mapperoption
Release note
Features
jest-config: Support ESM config files with
.jsextension (#9573).jest-runtime: Override
module.createRequireto return a Jest-compatiblerequirefunction- breaking
jest-haste-map: Remove
mapperoption *: Support array of paths for
moduleNameMapperaliasesjest-reporters: Adds ability to pass options to the istanbul-reporter through
coverageReportersjest-runtime: Require stack when a module cannot be resolved
jest-transform:
writeCacheFileno longer callsfsync
Fixes
expect: Handle readonly properties correctly
jest-cli: Set
coverageProvidercorrectly when provided in configjest-cli: Allow specifying
.cjsand.mjsconfig files by--configCLI optionjest-cli: Update yargs to fix CLI flag overriding
jest-config: Treat
setupFilesAfterEnvlikesetupFileswhen normalizing configs against presetsjest-config: Support
.mjsconfig files on Windows as welljest-config: Verify
rootDirand allrootsare directoriesjest-config: Ensure pattern of
replacePosixSepis a stringjest-haste-map: Fix crash on unix based systems without find
jest-jasmine2: Fix
--testNamePatternmatching withconcurrenttestsjest-matcher-utils: Fix diff highlight of symbol-keyed object.
@jest/reporters: Notifications should be fire&forget rather than having a timeout
jest-resolve: Fix module identity preservation with symlinks and browser field resolution
jest-resolve: Do not confuse directories with files
jest-resolve:
moduleNameMappershould take precedence over Node core modulesjest-runtime: Reset
isolateModulesif it failsjest-runtime: Yarn PnP errors displayed to the user
jest-snapshot: Downgrade semver to v6 to support node 8
jest-snapshot: Properly indent new snapshots in the presences of existing ones
jest-transform: Correct sourcemap behavior for transformed and instrumented code
jest-transform: Allow instrumentation of transformed files with weird file extensions
@jest/types: Make
ConfigGlobalsan interface to allow for declaration merging.pretty-format: Export
OldPlugintype
Performance
jest-haste-map: Reduce number of
lstatcalls in node crawler