jest

Delightful JavaScript testing with zero-config setup, snapshots, mocking, and coverage

Tool
npm
v30.4.2
45,468stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
95/100Excellent
Development Activity100
Maintenance96
Community84
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
87/100Excellent
Architecture92
Code Quality90
Innovation85
Learning Curve82

Jest is a JavaScript test runner and testing framework that works out of the box for most JavaScript projects with minimal configuration. It bundles a test scheduler, an assertion library (expect), snapshot testing, built-in mocking (module, function, and timer mocks), code coverage collection, and a fast, parallelized, watch-mode test runner into a single cohesive tool, making it the most widely used test framework in the Node.js and React ecosystem.

Originally created at Facebook and now maintained under the community-led jestjs organization, Jest is structured as a monorepo of dozens of composable packages (jest-cli, @jest/core, jest-runtime, jest-circus, expect, and more) that are consumed together through the top-level jest package, but can also be used independently by other tools (e.g. expect is used standalone by non-Jest test runners).

What You Get

  • A CLI test runner (jest) with parallelized execution, interactive watch mode, and test-file pattern filtering
  • The expect assertion library with an extensive built-in matcher set and support for custom matchers
  • Built-in snapshot testing for capturing and diffing serialized output (components, objects, DOM trees)
  • Automatic mocking of modules, functions, and timers with jest.fn(), jest.mock(), and fake timer utilities
  • Code coverage reporting (via Istanbul) with no additional tooling required
  • Pluggable test environments (jsdom, node) and transform pipelines (Babel, TypeScript via ts-jest or babel-jest)

Common Use Cases

  • Unit and integration testing for Node.js backend services and libraries
  • Component testing for React and other UI frameworks, often paired with Testing Library
  • Snapshot testing to catch unintended changes in rendered output or serialized data structures
  • Monorepo test orchestration where a single Jest config runs suites across multiple packages

Under The Hood

Architecture: Jest is organized as a monorepo where the top-level jest package is a thin entry point delegating to jest-cli, which drives @jest/core to discover test files (jest-haste-map), spin up isolated jest-runtime module registries per test file inside worker processes (jest-worker), execute tests through a pluggable test framework (jest-circus by default, jest-jasmine2 historically), and aggregate results via jest-reporters — a layered design that lets each concern (resolution, mocking, running, reporting) live in its own package and be swapped independently. Tech Stack: The whole monorepo is TypeScript, built and tested with its own Jest instance, uses jest-config/jest-resolve for project setup, Babel and ts-jest/babel-jest for transforms, and jest-environment-jsdom/jest-environment-node for pluggable execution sandboxes. Code Quality: Every package has a co-located __tests__ directory and the project dogfoods itself (Jest tests Jest), with strict TypeScript typing, ESLint enforcement, and a long-standing CI matrix across Node versions — a mature, heavily-tested codebase reflecting its status as critical infra for the ecosystem. API Design: The public describe/it/expect API is deliberately Jasmine-compatible for near-zero migration friction, matcher names read as natural assertions (toBe, toEqual, toHaveBeenCalledWith), and a project typically needs no config file at all to get first tests running.

Used by 141 apps in this directory

TypeScript
95%
Apache 2.0

AionUi

AI Agents · Productivity

32,102

Free, open-source Cowork desktop app that unifies Claude Code, Codex, Gemini CLI, and 20+ AI agents into a single platform with multi-agent teams, 24/7 cron automation, and zero-config built-in agent.

View details
88
Repo Health
76
Technical
66
Dependency
Built with
TypeScript95%
Updated today
TypeScript
72%
AGPL 3.0

APITable

Low Code Platforms · Databases

15,526

API-first collaborative spreadsheet-database platform that auto-generates REST APIs and lets teams build internal tools, CRMs, and dashboards without code.

View details
53
Repo Health
77
Technical
60
Dependency
Built with
TypeScript72%
Java22%
Updated 9 months ago
TypeScript
96%
Other

Amplication

Developer Tools · AI Code Assistants · Automation

16,010

Create production-ready backend services with your organization's standards baked in — generating NestJS, Prisma, and GraphQL code that you own and control.

View details
61
Repo Health
84
Technical
60
Dependency
Built with
TypeScript96%
Updated 1 months ago
JavaScript
95%
MIT

AnythingLLM

Developer Tools · Automation · AI Assistants

64,914

The all-in-one AI platform for private document chat, no-code agents, and local LLMs with zero setup friction.

View details
91
Repo Health
78
Technical
68
Dependency
Built with
JavaScript95%
Updated today
TypeScript
66%
Apache 2.0

Appsmith

Developer Tools · Automation · No Code Platforms

40,707

Open-source low-code platform to build admin panels, dashboards, and internal tools connected to any database or API.

View details
94
Repo Health
79
Technical
68
Dependency
Built with
TypeScript66%
Java22%
Updated today
Python
59%
Apache 2.0

argilla

AI Development · Data Engineering

5,081

Collaborate on high-quality AI training data with a self-hosted annotation platform built for LLMs, NLP, and multimodal models.

View details
65
Repo Health
81
Technical
63
Dependency
Built with
Python59%
Jupyter Notebook21%
Updated 2 days ago
Go
85%
Apache 2.0

Argo Workflows

Devops · Data Engineering

16,916

The most popular Kubernetes-native workflow engine for orchestrating containerized DAGs, ML pipelines, CI/CD, and parallel batch jobs at scale.

View details
96
Repo Health
90
Technical
70
Dependency
Built with
Go85%
TypeScript11%
Updated today
Go
55%
Apache 2.0

Authgear

Authentication

1,989

Open-source, self-hostable authentication platform with passkeys, biometric login, SSO, MFA, and GraphQL admin API — a full Auth0/Clerk/Firebase alternative for SaaS and mobile apps.

View details
88
Repo Health
81
Technical
72
Dependency
Built with
Go55%
HTML26%
TypeScript17%
Updated yesterday
Python
68%
Other

Baserow

No Code Platforms · Databases

5,635

Open-source no-code platform to build databases, apps, automations, and AI agents — self-hosted or cloud, with full data ownership.

View details
89
Repo Health
84
Technical
68
Dependency
Built with
Python68%
JavaScript15%
Vue12%
Updated today

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search