@jest/core
30.5.2 · 18 Sep 2026MIT60.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @jest/core From 25.2.1 to 25.5.4
12 releases in betweenevery note read
Release by release
- fixed
jest-jasmine2: Don't run
beforeAll/afterAllin skipped describe blocks
- fixed
25.5.3nothing new or fixed in the note
- fixed
jest-globals: Export globals as values, not types
- fixed
- new
jest-haste-map: Add missing
@types/graceful-fsdependency - fixed
jest-runner: Correctly serialize
Setpassed to worker - fixed
jest-runtime: Vary ESM cache by query
- new
- new
@jest/globals: New package so Jest's globals can be explicitly imported
- new
jest-core: Show coverage of sources related to tests in changed files
- new
jest-runtime: Populate
require.cache - new
jest-resolve: Update
resolveto a version using nativerealpath, which is faster than the default JS implementation
- new
- new
expect: Support
async functions intoThrow - new
jest-console: Add code frame to
console.errorandconsole.warn - fixed
expect: Restore support for passing functions to
toHaveLengthmatcher - fixed
jest-changed-files:
--only-changedshould include staged files - fixed
jest-circus: Throw on nested test definitions
- fixed
jest-each:
eachwill throw an error when called with too many arguments - fixed
jest-runner: Don't print warning to stdout when using
--json
- new
- new
babel-jest: Support passing
supportsDynamicImportandsupportsStaticESM - new
babel-preset-jest: Enable all syntax plugins not enabled by default that works on current version of Node
- new
jest-circus: Enable writing async test event handlers
- new
jest-runtime, @jest/transformer: Support passing
supportsDynamicImportandsupportsStaticESM
- new
- fixed
jest-matcher-utils: Replace accessors with values to avoid calling setters in object descriptors when computing diffs for error reporting
- fixed
@jest/watcher: Correct return type of
shouldRunTestSuiteforJestHookEmitter
- fixed
1 other line we could not sort, mostly version bumps
9 internal lines (docs, tests, tooling) left out.