Skip to content
J

Jest

Delightful JavaScript Testing

Open source

#8813in Developer Tools
0In stores

Description

Jest is an open-source JavaScript testing framework that aims to work out of the box, with little or no configuration, on most JavaScript pr…

Preview

Highlights

  • Zero-config setup for most JavaScript projects
  • Snapshot testing alongside or inline in tests
  • Parallel, isolated test runs
  • Built-in mocking of imports
  • Code coverage with one flag

Ratings & Reviews

No ratings yet

Be the first to rate Jest.

People also visit

V

vitest

Vitest API and config reference (Jest-compatible)

AI Skills
Get
V

vitest

Vitest fast unit testing framework powered by Vite with Jest-compatible API

AI Skills
Get
M

Mocha

Simple, flexible, fun JavaScript test framework for Node.js and the browser

Developer Tools
Launch
J

Jest Preview

Debug your Jest tests. Effortlessly

Developer Tools
Launch
J

javascript-testing-patterns

Comprehensive testing strategies for JavaScript/TypeScript

AI Skills
Get
V

vitest

Vite-powered unit testing framework

AI Skills
Get

Jest FAQ

What is Jest used for?

Writing and running automated tests for JavaScript projects, including those built with React, Angular, Vue, Node and TypeScript.

Does it need configuration?

The site says Jest aims to work out of the box, config free, on most JavaScript projects.

How do I measure code coverage?

Run Jest with the --coverage flag. The site says no extra setup is needed, and coverage can include untested files.

Is Jest open source?

Yes. The code is on GitHub at github.com/jestjs/jest, and the project is supported through Open Collective.

What are the best Jest alternatives?

Popular alternatives to Jest include Mocha, Jest Preview and Testing Library. See all Jest alternatives

Developer Stuff

Badges