@jest/test-result
30.5.2 · 18 Sep 2026MIT70.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @jest/test-result From 30.4.1 to 30.5.2
3 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 36
- new
- 94
- fixes
Before you upgrade
Tick each one off as you go- breaking30.5.0
- deprecated30.5.0
Release by release
- new
@jest/transform: Strip TypeScript types with Node when no transformer claims a
.ts,.mtsor.ctsfile - fixed
jest-core, jest-haste-map, jest-transform: Keep
require('../package.json')external when bundling, sojest --versionand the transform and haste-map cache keys report the released version instead of the previous one - fixed
jest-each: Escape a table row's keys before building the
$variableinterpolationRegExp, so a column name such ascount(*)no longer fails the whole table withInvalid regular expression, and a.or|in a column name is matched literally - fixed
@jest/source-map: Resolve absolute Windows paths in a source map's
sourcesandsourceRootagain, instead of appending them to the transformed file's directory
- new
- fixed
jest-config: Don't warn about global-only options in the config that supplies the global config - the root config a project resolves to, or the first entry of
--projectswhen no root config is passed - fixed
jest-config, jest-types: Stop accepting
reporters,coverageReporters,workerIdleMemoryLimit,cwdandrunnerOptionsin a project config - they were silently ignored, and now warn like the other global-only options - fixed
jest-config, jest-validate: Warn about
maxWorkersandcoverageThresholdin a project config instead of dropping them without a word - fixed
jest-resolve: Match
moduleNameMapperpatterns against the specifier as written again (reverting #16390) - fixed
jest-runtime: Resolve package
importsspecifiers like#depunder ESM again
- fixed
- breaking
jest-haste-map: Match watched files on a full extension, so
moduleFileExtensions: ['js']no longer acceptsfoo.mjs - deprecated
@jest/source-map: Deprecate
getCallsitein favour ofSourceMapSupport#getCallsite - new
babel-plugin-istanbulis updated to v8 - new
globis updated to v13
- breaking
17 internal lines (docs, tests, tooling) left out.