Migrating to Jest v30.0.0-beta.3
Version v30.0.0-beta.3 introduces 1 breaking change. This guide details how to update your code.
Released: 5/27/2025
1
Breaking Changes
4
Migration Steps
9
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
_importCoreModulejest-environment-nodejest-haste-mapobjectContainingcalledWithexpect.ArrayOfAggregateErrordeepCyclicCopyReplaceableworkerBreaking Changes
●Issue #1
Dropped support for Node.js version 16. Projects must upgrade to Node.js >=18 to use Jest 30.
Migration Steps
- 1Upgrade your runtime to Node.js >=18, as Jest 30 no longer supports Node 16.
- 2If you pin jsdom version, update it to ^26.0.0 or later.
- 3Run your test suite after upgrading to identify any regressions caused by the dropped Node 16 support.
- 4Review any custom jest-haste-map configurations for compatibility with the new handling of multiple configs.
Release Summary
Jest 30 drops Node 16 support, updates jsdom to v26, mitigates memory leaks, and introduces a new ArrayOf matcher while fixing numerous bugs.
Need More Details?
View the full release notes and all changes for Jest v30.0.0-beta.3.
View Full Changelog