Skip to content

Commit 630d099

Browse files
authored
docs: correct package name in upgrade me (#13174)
1 parent 75006e4 commit 630d099

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/UpgradingToJest29.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you want to keep the old behavior, you can set the `snapshotFormat` property
3838

3939
`jest-environment-jsdom` has upgraded `jsdom` from v19 to v20. Note that _if_ you use `jest-environment-jsdom`, the minimum TypeScript version is set to `4.5`.
4040

41-
Notably, `jsdom@20` includes support for `crypto.getRandomValues()`, which means packages like `jsdom` and `nanoid`, which doesn't work properly in Jest@28, can work without extra polyfills.
41+
Notably, `jsdom@20` includes support for `crypto.getRandomValues()`, which means packages like `uuid` and `nanoid`, which doesn't work properly in Jest@28, can work without extra polyfills.
4242

4343
## `pretty-format`
4444

website/versioned_docs/version-29.0/UpgradingToJest29.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you want to keep the old behavior, you can set the `snapshotFormat` property
3838

3939
`jest-environment-jsdom` has upgraded `jsdom` from v19 to v20. Note that _if_ you use `jest-environment-jsdom`, the minimum TypeScript version is set to `4.5`.
4040

41-
Notably, `jsdom@20` includes support for `crypto.getRandomValues()`, which means packages like `jsdom` and `nanoid`, which doesn't work properly in Jest@28, can work without extra polyfills.
41+
Notably, `jsdom@20` includes support for `crypto.getRandomValues()`, which means packages like `uuid` and `nanoid`, which doesn't work properly in Jest@28, can work without extra polyfills.
4242

4343
## `pretty-format`
4444

0 commit comments

Comments
 (0)