npm package
Homejest-mock
jest-mock is a mocking library that allows developers to create mock functions and modules for testing purposes. It is particularly useful for unit testing in JavaScript applications, enabling the simulation of function behavior and tracking calls. This package fits well in applications that require extensive testing of components and functions.
- lurq health score
- 80/100
- Confidence
- proven
- Weekly downloads
- 49,315,246
- Latest version
- 30.5.2
- Last release
- Sep 18, 2026
- License
- MIT
Should you depend on jest-mock?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks jest-mock at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading jest-mock
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 29.7.0 → 30.5.2being extracted
- 28.1.3 → 29.7.0diff ready
- 27.5.1 → 28.1.3diff ready
Other validation packages lurq scores
- fast-xml-parser93/100 · proven
- @babel/helper-validator-identifier91/100 · proven
- @babel/helper-validator-option91/100 · proven
- dependency-cruiser88/100 · proven
- @graphql-tools/schema87/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.