@jest/types
30.5.1 · 1 Sep 2026MIT190.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @jest/types From 26.5.2 to 26.6.2
3 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- new
jest-core: Add
findRelatedTestsandnonFlagArgsin allowed config options forupdateConfigAndRunin watch plugins - fixed
babel-plugin-jest-hoist: Preserve order of hoisted mock nodes within containing block
- fixed
babel-plugin-jest-hoist: Hoist pure constants to support experimental JSX transform in hoisted mocks
- fixed
babel-preset-jest: Update
babel-preset-current-node-syntaxto support top level await
- new
- new
jest-runtime: Support named exports from CommonJS as named ES Module imports
- new
jest-validate: Add support for
recursiveDenylistoption as an alternative torecursiveBlacklist - fixed
expect: Fix
objectContainingto work recursively into sub-objects - fixed
jest-cli, jest-core, jest-config, jest-types: Fix
--onlyFailuresflag to work in non-watch mode - fixed
jest-config: Fix for the
jest.config.tscompiler to not interfere withtsconfig.jsonfiles - fixed
jest-message-util: Update to work properly with Node 15
- fixed
jest-mock: Allow to mock methods in getters (TypeScript 3.9 export)
- new
- new
jest-cli, jest-config: Add support for the
jest.config.tsconfiguration file - new
@jest/types: Add missing values for
timers - fixed
jest-config: Simplify transform RegExp
- fixed
jest-fake-timers: Lazily instantiate mock timers
- fixed
jest-runtime:
require.mainis no longerundefinedwhen usingjest.resetModules
- new
1 other line we could not sort, mostly version bumps
- 26.6.2
expect: Revert "Fix
objectContainingto work recursively into sub-objects (#10508)"
7 internal lines (docs, tests, tooling) left out.