@jest/fake-timers
30.5.2 · 18 Sep 2026MIT78.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @jest/fake-timers From 27.0.6 to 27.5.1
15 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 33
- new
- 37
- fixes
Before you upgrade
Tick each one off as you go- deprecated27.2.5
Release by release
- new
jest-config: Support comments in JSON config file
- new
pretty-format: Expose
ConvertAnsiplugin - new
expect: Add type definitions for asymmetric
closeTomatcher - fixed
jest-cli: Load binary via exported API
- fixed
jest-config: Replace
jsonlintwithparse-json - fixed
- new
- new
expect: Add asymmetric matcher
expect.closeTo - new
jest-mock: Added
mockFn.mock.lastCallto retrieve last argument - new
expect: Add a fix for
.toHaveProperty('') - new
@jest/globals: Add missing
optionsargument tojest.doMocktyping
- new
- new
jest-environment-node: Add
AbortSignal - new
jest-environment-node: Add Missing node global
performance - new
jest-configperf: only register ts-node once when loading TS config files - fixed
jest-runtime: Handle missing
mockedproperty
- new
- new
jest-worker: Add additional
execArgvto filter
- new
- fixed
jest-worker: Filter
execArgvcorrectly
- fixed
- new
expect: Enhancing the
toHavePropertymatcher to support array selection - new
jest-core: Add support for
testResultsProcessorwritten in ESM - new
jest-diff, pretty-format: Add
compareKeysoption for custom sorting of object keys - new
jest-mock: Add
ts-jestmock util functions
- new
- fixed
expect: Make
expectextension propertiesconfigurable - fixed
expect: Fix
.any()checks on primitive wrapper classes
- fixed
- new
jest-config: Add
testEnvironmentOptions.htmlto apply to jsdom input - new
jest-resolver: Support default export (
.) inexportsfield ifmainis missing - fixed
expect: Tweak and improve types
- fixed
jest-runtime: Ensure absolute paths can be resolved within test modules
- fixed
jest-runtime: Fix
instanceofforModernFakeTimersandLegacyFakeTimersmethods
- new
12 internal lines (docs, tests, tooling) left out.