# System map — jestjs/jest

> Canonical page: https://codevetter.com/unpack/jest/system-map

# System map — jestjs/jest

Scanned commit 61050e9323e742539dc2360236671110e37329e6 (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

The executable product is a collection of Node packages with a CLI and programmatic orchestration API. Configuration and file indexing establish project contexts before runners execute individual test files in configured environments. Persistence consists of filesystem caches, snapshots, and report artifacts. The documentation website has its own build and deployment boundary.
- The private root workspace includes packages, website, and examples, pins yarn@4.18.0, and declares Node support as ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0. — [package.json#L136-L140](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/package.json#L136-L140) [package.json#L206-L223](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/package.json#L206-L223)
- The jest-cli package exposes the jest executable and CJS/ESM package exports; bin/jest.js delegates to import-local before invoking run(). — [packages/jest-cli/package.json#L5-L16](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-cli/package.json#L5-L16) [packages/jest-cli/package.json#L40-L44](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-cli/package.json#L40-L44) [packages/jest-cli/bin/jest.js#L9-L17](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-cli/bin/jest.js#L9-L17)
- runCLI is the orchestration boundary: it loads configurations, selects projects, builds Haste contexts, and branches into watch or one-shot execution. — [packages/jest-core/src/cli/index.ts#L38-L56](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-core/src/cli/index.ts#L38-L56) [packages/jest-core/src/cli/index.ts#L143-L170](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-core/src/cli/index.ts#L143-L170) [packages/jest-core/src/cli/index.ts#L220-L247](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-core/src/cli/index.ts#L220-L247)
- TestScheduler loads configured runners, partitions tests by runner path and runnerOptions, and determines serial execution using shouldRunInBand or runner.isSerial. — [packages/jest-core/src/TestScheduler.ts#L241-L282](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-core/src/TestScheduler.ts#L241-L282) [packages/jest-core/src/TestScheduler.ts#L356-L376](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-core/src/TestScheduler.ts#L356-L376)
- jest-runner executes files directly in serial mode or through a jest-worker pool with optional worker threads, serialized resolver maps, piped output, and explicit worker cleanup. — [packages/jest-runner/src/index.ts#L53-L84](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-runner/src/index.ts#L53-L84) [packages/jest-runner/src/index.ts#L97-L125](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-runner/src/index.ts#L97-L125) [packages/jest-runner/src/index.ts#L184-L198](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-runner/src/index.ts#L184-L198)
- Runtime composes ModuleRegistries, Resolution, MockState, TransformCache, JestGlobals, EsmLoader, ModuleExecutor, and CjsLoader for each test-file execution. — [packages/jest-runtime/src/index.ts#L126-L167](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-runtime/src/index.ts#L126-L167) [packages/jest-runtime/src/index.ts#L181-L233](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-runtime/src/index.ts#L181-L233) [packages/jest-runtime/src/index.ts#L235-L280](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/packages/jest-runtime/src/index.ts#L235-L280)
- The build script bundles packages with Webpack and generates .mjs wrappers from CJS exports; yarn build additionally builds and bundles declarations, while Lerna tracks package version 30.5.2. — [scripts/build.mjs#L26-L38](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/scripts/build.mjs#L26-L38) [scripts/build.mjs#L56-L90](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/scripts/build.mjs#L56-L90) [package.json#L96-L101](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/package.json#L96-L101) [lerna.json#L1-L11](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/lerna.json#L1-L11)
- The website uses Docusaurus and React, reads documentation from ../docs, fetches Open Collective supporter data, and publishes website/build through Netlify production or preview commands. — [website/package.json#L5-L18](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/website/package.json#L5-L18) [website/package.json#L32-L45](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/website/package.json#L32-L45) [website/docusaurus.config.mjs#L49-L70](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/website/docusaurus.config.mjs#L49-L70) [netlify.toml#L4-L24](https://github.com/jestjs/jest/blob/61050e9323e742539dc2360236671110e37329e6/netlify.toml#L4-L24)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
