# Jest

> The JavaScript testing framework built by Meta

Jest tests JavaScript and React code with zero configuration: mocks, snapshots, and coverage built in. Free and open source, maintained by OpenJS.

**Official website:** https://jestjs.io

## Pricing
- Type: free
- Starting from: Free

## SaaS Radar review
**Score:** 8/10

The standard for JavaScript testing: zero configuration, mocks and snapshots included, backed by the OpenJS Foundation.

### Strengths
- Works with zero configuration on most React and Node projects
- Mocks, assertions, snapshots, and coverage in a single tool
- Tests run in parallel and in isolation, fast even at scale
- Massive ecosystem and native integration in code editors

### Weaknesses
- Configuration gets heavy on large monorepos
- Slower startup than newer runners like Vitest
- Poorly maintained snapshots become tests that test nothing

## Key features
- **Zero configuration**: A working test suite right after installation
- **Snapshot testing**: Freezes a component's output and flags any regression
- **Built-in mocks**: Simulates functions, modules, and timers with no external dependency
- **Code coverage**: Native coverage reporting via a single option
- **Parallel execution**: Isolated tests run in parallel for a fast suite

## Best for
- React projects that want a ready-to-use test suite
- Node and TypeScript teams looking for a proven standard
- Codebases already built around the Jest ecosystem

## Less suited for
- Vite or pure ESM projects, often better served by Vitest
- Micro-libraries where an ultra-lightweight runner is enough

**Platforms:** Windows, macOS, Linux, CI/CD
**Integrations:** React, Node.js, TypeScript, Babel, GitHub Actions, VS Code
**Data hosting:** Global
**GDPR compliant:** Yes

## FAQ
### Is Jest free?
Yes, Jest is entirely free and open source under the MIT license. It installs via npm and no feature is locked behind a paid tier.

### Jest or Vitest?
Jest remains the default choice for React and Node codebases thanks to its ecosystem. Vitest integrates more naturally with Vite and ESM projects and starts up faster.

### Who maintains Jest?
Created by Meta to test React, Jest moved under the governance of the OpenJS Foundation in 2022, which secures its long-term maintenance.

**Categories:** Automation & No-code, Development & Tech, Productivity
