Skip to content

Commit e1bd133

Browse files
authored
Update v30 upgrade guide to mention correct JSDOM version (#15631)
1 parent 781448a commit e1bd133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/UpgradingToJest30.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Upgrading from an older version? You can see the upgrade guide from v28 to v29 [
2121

2222
- Jest 30 drops support for Node 14, 16, 19, and 21. The minimum supported Node versions are now 18.x. Ensure your environment is using a compatible Node release before upgrading.
2323
- The minimum TypeScript version is now 5.0. Support for TypeScript 4.3 and below has been removed. Update your TypeScript dependency to v5+ if you use TypeScript with Jest.
24-
- The `jest-environment-jsdom` package now uses JSDOM v22. This upgrade may introduce behavior changes in the DOM environment. If you encounter differences in DOM behavior or new warnings, refer to the JSDOM release notes for [v21–22](https://github.com/jsdom/jsdom/compare/21.0.0...22.0.0).
24+
- The `jest-environment-jsdom` package now uses JSDOM v26. This update may introduce behavior changes in the DOM environment. If you encounter differences in DOM behavior or new warnings, refer to the JSDOM release notes for [v21–26](https://github.com/jsdom/jsdom/compare/21.0.0...26.0.0).
2525

2626
## Jest Expect & Matchers
2727

0 commit comments

Comments
 (0)