npm package
Homejest-mock
jest-mock is a module for creating mock functions and objects in JavaScript, primarily used for testing. It allows developers to simulate and control the behavior of functions in unit tests, making it easier to verify interactions and outcomes. This package is particularly useful in a testing environment where mocking dependencies is necessary.
- lurq health score
- 82/100
- Confidence
- proven
- Weekly downloads
- 71,217,066
- Latest version
- 30.5.1
- Last release
- Sep 1, 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
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 2, 2026; this page refreshes every 24 hours. Source repository.