Skip to content

Commit

Permalink
chore(website): UpgradingToJest29 admonitions (#13595)
Browse files Browse the repository at this point in the history
  • Loading branch information
notoriousmango committed Jan 1, 2023
1 parent 77077ea commit 8f997e0
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 5 deletions.
8 changes: 7 additions & 1 deletion docs/UpgradingToJest29.md
Expand Up @@ -36,7 +36,13 @@ If you want to keep the old behavior, you can set the `snapshotFormat` property

## JSDOM upgrade

`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`.
`jest-environment-jsdom` has upgraded `jsdom` from v19 to v20.

:::info

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 `uuid` and `nanoid`, which doesn't work properly in Jest@28, can work without extra polyfills.

Expand Down
8 changes: 7 additions & 1 deletion website/versioned_docs/version-29.0/UpgradingToJest29.md
Expand Up @@ -36,7 +36,13 @@ If you want to keep the old behavior, you can set the `snapshotFormat` property

## JSDOM upgrade

`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`.
`jest-environment-jsdom` has upgraded `jsdom` from v19 to v20.

:::info

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 `uuid` and `nanoid`, which doesn't work properly in Jest@28, can work without extra polyfills.

Expand Down
8 changes: 7 additions & 1 deletion website/versioned_docs/version-29.1/UpgradingToJest29.md
Expand Up @@ -36,7 +36,13 @@ If you want to keep the old behavior, you can set the `snapshotFormat` property

## JSDOM upgrade

`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`.
`jest-environment-jsdom` has upgraded `jsdom` from v19 to v20.

:::info

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 `uuid` and `nanoid`, which doesn't work properly in Jest@28, can work without extra polyfills.

Expand Down
8 changes: 7 additions & 1 deletion website/versioned_docs/version-29.2/UpgradingToJest29.md
Expand Up @@ -36,7 +36,13 @@ If you want to keep the old behavior, you can set the `snapshotFormat` property

## JSDOM upgrade

`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`.
`jest-environment-jsdom` has upgraded `jsdom` from v19 to v20.

:::info

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 `uuid` and `nanoid`, which doesn't work properly in Jest@28, can work without extra polyfills.

Expand Down
8 changes: 7 additions & 1 deletion website/versioned_docs/version-29.3/UpgradingToJest29.md
Expand Up @@ -36,7 +36,13 @@ If you want to keep the old behavior, you can set the `snapshotFormat` property

## JSDOM upgrade

`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`.
`jest-environment-jsdom` has upgraded `jsdom` from v19 to v20.

:::info

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 `uuid` and `nanoid`, which doesn't work properly in Jest@28, can work without extra polyfills.

Expand Down

0 comments on commit 8f997e0

Please sign in to comment.