NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #902 most downloaded on npm
Delightful JavaScript Testing.
Last release 5 days ago
18 Sep 2026
Release timing varies
gaps range from 8 days to 5 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
383 releases · first in 2012
Pretty printer updates for React and global window objects.
jest-runtime overwrites automocking from configuration files.Fixed Jest with npm2 when using coverage.
One column per quarter.
Updated toThrow and toThrowMatchers and aliased them to the same matcher.
--bail option.See https://jestjs.io/blog/2016/09/01/jest-15.html
.spec.js and .test.js as test files.--env option to override the default test environment.--watchAll, made --watch interactive and added the ability to update snapshots and select test patterns in watch mode.testEnvironment resolution to prefer jest-environment-{name} instead of {name} only. This prevents a module colision when using jsdom as test environment.moduleNameMapper now uses a resolution algorithm.global.global to the node environment.mock.collectCoverageFrom to collect code coverage from untested files.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Changed Jest's default cache directory.
jest-react-native for react 15.3.0.react-test-renderer.babel-jest can now be used to compose a transformer.
babel-jest can now be used to compose a transformer.jest -u or npm test -- -u.config cli option to enable JSON objects as configuration.Official release of snapshot tests.
toBe, toBeFalsy, toBeTruthy, toBeNaN, toBe{Greater,Less}Than{,OrEqual}, toBeNull, toBeDefined, toBeUndefined, toContain, toMatch, toBeCloseTo were rewritten.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
- Snapshot bugfixes. - Timer bugfixes.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added test global function as an alias for it.
test global function as an alias for it.coveragePathIgnorePatterns to the config.--verbose option and top level it calls.require('jest-check').jest.deepUnmock.Added duration of individual tests in verbose mode.
browser config option to properly resolve npm packages with a browser field in package.json if you are writing tests for client side appsjest-repl.jest-cli into jest-runtime and jest-config.--notify.TestRunner into SearchSource and improved the "no tests found" message.jest.isMockFunction(jest.fn()) to test for mock functions.jest.mock('Module', implementation, {virtual: true}).toMatchSnapshot().Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Remove test files from code coverage.
Nothing published for this version
Added testRegex to match for tests outside of specific folders. Deprecated both testDirectoryName and testFileExtensions.
jest package on npm.testRegex to match for tests outside of specific folders. Deprecated both testDirectoryName and testFileExtensions.it can now return a Promise for async testing. pit was deprecated.jest-resolve as a standalone package based on the Facebook module resolution algorithm.jest-changed-files as a standalone package to detect changed files in a git or hg repo.--setupTestFrameworkFile to cli.module.filename and removed the invalid module.__filename field.lastCalledWith and toBeCalledWith custom matchers. They now print the most recent calls.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →