Jest
jestjs.io
What it is
Jest is a free, self-hosted JavaScript testing framework focused on checking correctness. It supports projects using Babel, TypeScript, Node, React, Angular, Vue and other technologies, and aims to run without configuration on most JavaScript projects. Snapshot tests compare rendered output with a saved reference. Tests run in separate processes for parallel execution, while the --coverage flag can collect coverage, including from files without tests. Mock functions and a custom import resolver support replacing objects and observing calls. Interactive watch mode reruns tests related to changed files. Installation guidance covers npm, Yarn, pnpm and Bun. Documentation describes webpack and Parcel use, but states that Vite is unsupported because of plugin-system incompatibilities. With Babel handling TypeScript, Jest transpiles tests without type-checking them during execution. A free plan is listed at free, with no paid plans or usage limits stated.
Spec sheet
- Purpose
- Jest is a JavaScript testing framework focused on simplicity and correctness.Read 29 Sep 2026 · jestjs.io
- Intended users
- The site describes Jest as designed to ensure correctness across any JavaScript codebase.Read 29 Sep 2026 · jestjs.io
- Integrations
- The guide documents use with webpack and Parcel, and says Jest is not supported by Vite because of plugin system incompatibilities.Read 29 Sep 2026 · jestjs.io
- Security
- The Jest repository links a security policy, but the official pages opened did not state a security certification or compliance standard.Read 29 Sep 2026 · github.com
- Support
- The site points users to Stack Overflow, Reactiflux, and Twitter for community help.Read 29 Sep 2026 · jestjs.io
- Coverage
- The site says Jest can collect project code coverage, including from untested files, with the --coverage flag.Read 29 Sep 2026 · jestjs.io
- Framework support
- The site says Jest works with projects using Babel, TypeScript, Node, React, Angular, Vue, and more.Read 29 Sep 2026 · jestjs.io
- Mocking
- Jest provides a custom import resolver and mock functions for mocking objects and spying on function calls.Read 29 Sep 2026 · jestjs.io
- Package managers
- The getting started guide documents installation with npm, Yarn, pnpm, and Bun.Read 29 Sep 2026 · jestjs.io
- Parallel testing
- Jest runs tests in separate processes so tests can run in parallel.Read 29 Sep 2026 · jestjs.io
- Setup
- Jest aims to work out of the box without configuration on most JavaScript projects.Read 29 Sep 2026 · jestjs.io
- Snapshots
- Snapshot tests compare rendered output with a reference snapshot stored alongside the test.Read 29 Sep 2026 · jestjs.io
- TypeScript limit
- When using Babel for TypeScript, Jest transpiles tests but does not type-check them as they run.Read 29 Sep 2026 · jestjs.io
- Watch mode
- The repository describes an interactive watch mode that runs test files related to changed files.Read 29 Sep 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Free plan with no paid plans stated
- Supports major JavaScript frameworks
- Snapshot testing included
- Parallel test execution
- Built-in mocks and coverage collection
Limits
- Vite is not supported
- Babel TypeScript runs do not type-check
- Self-hosted rather than a hosted service
Who it suits
Jest suits developers maintaining JavaScript or TypeScript codebases who need snapshots, mocks, coverage, parallel execution and watch mode.
Verdict
Jest provides a broad testing toolkit for JavaScript projects without a listed license cost. Teams using Vite or relying on runtime TypeScript type-checking should account for its documented limits.
Where Specifiction places it
- JavaScript Testing Frameworks#8 of 237.7
- Unit Testing#15 of 327.6
- Unit Testing Frameworks#20 of 327.7