Jest
jestjs.io
- Free plan
- Self-hosted
What Jest is
Jest is a free JavaScript testing framework for checking correctness across JavaScript codebases. It supports projects using Babel, TypeScript, Node, React, Angular, Vue, and other technologies, and aims to work without configuration on most JavaScript projects. Snapshot tests compare rendered output with a saved reference. Jest runs tests in separate processes, allowing parallel execution, and its coverage flag can collect coverage data, including from files without tests. Mock functions and a custom import resolver support mocking objects and observing function calls. An interactive watch mode runs tests related to changed files. Installation instructions cover npm, Yarn, pnpm, and Bun, while the guide also documents webpack and Parcel use. The project states that Jest is not supported by Vite because of plugin system incompatibilities. When Babel handles TypeScript, Jest transpiles tests but does not type-check them during execution. Jest is self-hosted and listed as free, with no paid plans or usage limits stated on the official pages. Community help is linked through Stack Overflow, Reactiflux, and Twitter.
Who it suits
Jest suits developers who need to test JavaScript codebases, including projects using popular frameworks and TypeScript. Teams using Vite or relying on Babel-based TypeScript type-checking during tests should account for its stated limitations.
Good to know, and what to watch
- Works with Babel, TypeScript, Node, React, Angular, and Vue.
- Snapshot tests compare output with saved references.
- Runs tests in parallel processes.
- Coverage can include files without tests.
- Free, with no stated usage limits.
- Not supported by Vite.
- Babel-based TypeScript tests are not type-checked during execution.
- Self-hosted rather than a hosted platform.
Plans
Every plan and priceJest
Free plan
The verdict
Jest provides snapshots, parallel execution, coverage, mocks, and watch mode for JavaScript testing. Consider the Vite incompatibility and Babel TypeScript type-checking limitation when choosing it.
What the maker publishes
- Coverage
- The site says Jest can collect project code coverage, including from untested files, with the --coverage flag. source
- Framework support
- The site says Jest works with projects using Babel, TypeScript, Node, React, Angular, Vue, and more. source
- Integrations
- The guide documents use with webpack and Parcel, and says Jest is not supported by Vite because of plugin system incompatibilities. source
- Intended users
- The site describes Jest as designed to ensure correctness across any JavaScript codebase. source
- Mocking
- Jest provides a custom import resolver and mock functions for mocking objects and spying on function calls. source
- Package managers
- The getting started guide documents installation with npm, Yarn, pnpm, and Bun. source
- Parallel testing
- Jest runs tests in separate processes so tests can run in parallel. source
- Purpose
- Jest is a JavaScript testing framework focused on simplicity and correctness. source
- Security
- The Jest repository links a security policy, but the official pages opened did not state a security certification or compliance standard. source
- Setup
- Jest aims to work out of the box without configuration on most JavaScript projects. source
- Snapshots
- Snapshot tests compare rendered output with a reference snapshot stored alongside the test. source
- Support
- The site points users to Stack Overflow, Reactiflux, and Twitter for community help. source
- TypeScript limit
- When using Babel for TypeScript, Jest transpiles tests but does not type-check them as they run. source
- Watch mode
- The repository describes an interactive watch mode that runs test files related to changed files. source
Checked against the maker's pages on 29 Sept 2026.