@jest/types
30.5.1 · 1 Sep 2026MIT190.3M / weekRepositoryHomepagenpmAtom feed
26.6.2 is the newest release of 26.x.
In short
4 new1 faster4 fixed8 internal
Release note
Features
jest-mock: Export
Mock,MockInstance,SpyInstancetypesjest-config: Support config files exporting (
async)functionsjest-cli, jest-core: Add
--selectProjectsCLI argument to filter test suites by project namejest-cli, jest-init: Add
coverageProvidertojest --initprompts
Fixes
jest-console:
getConsoleOutputto receive global stack trace config and use it to format stack tracejest-jasmine2: Stop adding
:after an error that has no messagejest-diff: Control no diff message color with
commonColorin diff optionsjest-snapshot: Fix TypeScript compilation
Performance
jest-core, jest-transform, jest-haste-map: Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances