babel-jest
30.5.2 · 18 Sep 2026MIT71.6M / weekRepositoryHomepagenpmAtom feed
22.4.4 is the newest release of 22.x.
In short
11 new10 fixed2 internal
Release note
Features
jest-runner: Move test summary to after coverage report
jest-cli: Added
--notifyModeto specify when to be notified.diff-sequences: New package compares items in two sequences to find a longest common subsequence.
jest-matcher-utils: Add
commentoption tomatcherHintfunctionjest-config: Allow lastComit and changedFilesWithAncestor via JSON config
jest-util: Add deletion to
process.envas welljest-util: Add case-insensitive getters/setters to
process.envjest-mock: Add util methods to create async functions.
Fixes
jest-cli: Add trailing slash when checking root folder
jest-cli: Hide interactive mode if there are no failed snapshot tests
babel-jest: Remove retainLines from babel-jest
jest-cli: Glob patterns ignore non-
require-able files (e.g.README.md)jest-mock: Add backticks support (``) to
mocka certain package via the__mocks__folder.jest-message-util: Prevent an
ENOENTcrash when the test file contained a malformed source-map. (#5405).jest: Add
import-localtojestpackage.expect: Support class instances in
.toHaveProperty()and.toMatchObjectmatcher.jest-cli: Fix npm update command for snapshot summary. (#5376, 5389)
expect: Make
rejectsandresolvessynchronously validate its argument.jest-resolve: Search required modules in node_modules and then in custom paths.
jest-resolve: Get builtin modules from node core.
jest-resolve: Detect and preserve absolute paths in
moduleDirectories. Do not generate additional (invalid) paths by prepending each ancestor ofcwdto the absolute path. Additionally, this fixes functionality in Windows OS.