Skip to content

Commit

Permalink
docs: correct package name in upgrade me (#13174)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Aug 25, 2022
1 parent 75006e4 commit 630d099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/UpgradingToJest29.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ If you want to keep the old behavior, you can set the `snapshotFormat` property

`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`.

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.
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.

## `pretty-format`

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.0/UpgradingToJest29.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ If you want to keep the old behavior, you can set the `snapshotFormat` property

`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`.

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.
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.

## `pretty-format`

Expand Down

0 comments on commit 630d099

Please sign in to comment.