jest
30.5.2 · 18 Sep 2026MIT62.9M / weekRepositoryHomepagenpmAtom feed
Your version
21.2.1 is the newest release of 21.x.
In short
2 new2 fixed3 changed
Release note
(minor) Use ES module exports
Allow chaining mockClear and mockReset
Call jest-diff and pretty-format more precisely in toHaveProperty matcher
Expose restoreAllMocks to object
Fix function name cleaning when making mock fn
Fix Map/Set equality checker
Make FUNCTION_NAME_RESERVED_PATTERN stateless
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.