jest-mock 28.0.0
**Note:** More details on user side API can be found in [Jest documentation](https://jestjs.io/docs/mock-function-api).
jest-mock@28.0.0 was published on 2022-04-25. Its manifest declares 2 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0.
All jest-mock versions · Permanent reference to 28.0.0 · Latest release
Package specifications
| Version | 28.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2022-04-25T12:08:09.625Z |
| Node.js requirement | ^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 40.14 KiB |
| Published file count | 5 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | ./build/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 16 |
| Repository stars | 45481 |
| Repository forks | 6714 |
Install jest-mock 28.0.0
npm install jest-mock@28.0.0 pnpm add jest-mock@28.0.0 yarn add jest-mock@28.0.0
Runtime dependencies
- @jest/types ^28.0.0
- @types/node *
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @jest/schemas@28.1.3 — indirect
- @jest/types@28.1.3 — direct
- @sinclair/typebox@0.24.52 — indirect
- @types/istanbul-lib-coverage@2.0.6 — indirect
- @types/istanbul-lib-report@3.0.3 — indirect
- @types/istanbul-reports@3.0.4 — indirect
- @types/node@26.6.5 — direct
- @types/yargs@17.0.35 — indirect
- @types/yargs-parser@21.0.3 — indirect
- ansi-styles@4.3.0 — indirect
- chalk@4.1.2 — indirect
- color-convert@2.0.1 — indirect
- color-name@1.1.4 — indirect
- has-flag@4.0.0 — indirect
- supports-color@7.2.0 — indirect
- undici-types@8.9.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/jest-mock/28.0.0 — retrieved 2026-10-29T10:18:59.613Z
- https://api.deps.dev/v3/projects/github.com%2Fjestjs%2Fjest — retrieved 2026-10-29T05:10:04.005Z
- https://api.deps.dev/v3/systems/npm/packages/jest-mock/versions/28.0.0 — retrieved 2026-10-29T10:19:00.243Z
- https://api.deps.dev/v3/systems/npm/packages/jest-mock/versions/28.0.0:dependencies — retrieved 2026-10-29T10:19:00.256Z