@jest/types
30.5.1 · 1 Sep 2026MIT190.3M / weekRepositoryHomepagenpmAtom feed
Your version
29.6.3 is the newest release of 29.x.
In short
4 new4 fixed2 internal
Release note
Features
@jest/environment, jest-runtime: Allow passing a generic type argument to
jest.createMockFromModule<T>()methodexpect: Expose
ExpectationResulttypejest-snapshot: Expose
Contexttype@jest/globals: Add
jest.Mocktype helper
Fixes
jest-core: Capture
execErrorduringTestScheduler.scheduleTestsand dispatch to reportersjest-resolve: Make sure to resolve module paths after looking at
exportsjest-resolve: Improve error on module not found deep in the
requirestackjest-snapshot: Fix typings of snapshot matchers