jest-mock
30.5.2 · 18 Sep 2026MIT94.8M / weekRepositoryHomepagenpmAtom feed
26.6.2 is the newest release of 26.x.
In short
2 new5 fixed
Release note
Features
jest-runtime: Support named exports from CommonJS as named ES Module imports
jest-validate: Add support for
recursiveDenylistoption as an alternative torecursiveBlacklist
Fixes
expect: Fix
objectContainingto work recursively into sub-objectsjest-cli, jest-core, jest-config, jest-types: Fix
--onlyFailuresflag to work in non-watch modejest-config: Fix for the
jest.config.tscompiler to not interfere withtsconfig.jsonfilesjest-message-util: Update to work properly with Node 15
jest-mock: Allow to mock methods in getters (TypeScript 3.9 export)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.