@jest/fake-timers
30.5.2 · 18 Sep 2026MIT78.4M / weekRepositoryHomepagenpmAtom feed
29.7.0 is the newest release of 29.x.
In short
7 new1 faster5 fixed1 changed1 internal
Release note
Features
@jest/cli, jest-config: A seed for the test run will be randomly generated, or set by a CLI option
@jest/cli, jest-config:
--show-seedwill display the seed value in the report, and can be set via a CLI flag or through the config filejest-config: Add
readInitialConfigutility functionjest-core: Allow
testResultsProcessorto be async[@jest/environment, jest-environment-node, jest-environment-jsdom, jest-runtime]AddgetSeed()to thejestobjectexpect, @jest/expect-utils: Allow
isAutility to take a type argumentexpect: Expose
AsyncExpectationResultandSyncExpectationResulttypes
Fixes
babel-plugin-jest-hoist: Ignore
TSTypeQuerywhen checking for hoisted referencesjest-core: Fix
detectOpenHandlesfalse positives for some special objects such asTLSWRAPjest-mock: Fix mocking of getters and setters on classes
jest-reporters: Transform file paths into hyperlinks
@jest/types: Infer type of
eachtable correctly when the table is a tuple or array@jest/types: Rework typings to allow the
*ReturnedWithmatchers to be called with no argument
Performance
jest-runner: Do not instrument v8 coverage data if coverage should not be collected