From c70afe24cba2747138af2e3838a3b66aee8b5347 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 21 Jan 2019 20:55:11 +0100 Subject: [PATCH] document how to get a newer version of jsdom (#7673) --- docs/Configuration.md | 2 ++ website/versioned_docs/version-22.0/Configuration.md | 2 ++ website/versioned_docs/version-22.1/Configuration.md | 2 ++ website/versioned_docs/version-22.2/Configuration.md | 2 ++ website/versioned_docs/version-22.3/Configuration.md | 2 ++ website/versioned_docs/version-22.4/Configuration.md | 2 ++ website/versioned_docs/version-23.0/Configuration.md | 2 ++ website/versioned_docs/version-23.1/Configuration.md | 2 ++ website/versioned_docs/version-23.2/Configuration.md | 2 ++ website/versioned_docs/version-23.3/Configuration.md | 2 ++ website/versioned_docs/version-23.4/Configuration.md | 2 ++ website/versioned_docs/version-23.5/Configuration.md | 2 ++ website/versioned_docs/version-23.6/Configuration.md | 2 ++ 13 files changed, 26 insertions(+) diff --git a/docs/Configuration.md b/docs/Configuration.md index ee26b44262ec..3244e7c7232a 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -871,6 +871,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whatever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-22.0/Configuration.md b/website/versioned_docs/version-22.0/Configuration.md index bf21f633b80c..a096ddff5380 100644 --- a/website/versioned_docs/version-22.0/Configuration.md +++ b/website/versioned_docs/version-22.0/Configuration.md @@ -675,6 +675,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] ##### available in Jest **22.0.0+** diff --git a/website/versioned_docs/version-22.1/Configuration.md b/website/versioned_docs/version-22.1/Configuration.md index 9172950c52db..1f1b54c335df 100644 --- a/website/versioned_docs/version-22.1/Configuration.md +++ b/website/versioned_docs/version-22.1/Configuration.md @@ -669,6 +669,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-22.2/Configuration.md b/website/versioned_docs/version-22.2/Configuration.md index ec9ddef9086b..dbc58bede0a9 100644 --- a/website/versioned_docs/version-22.2/Configuration.md +++ b/website/versioned_docs/version-22.2/Configuration.md @@ -684,6 +684,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-22.3/Configuration.md b/website/versioned_docs/version-22.3/Configuration.md index 348c22e76aec..0a05ea917f30 100644 --- a/website/versioned_docs/version-22.3/Configuration.md +++ b/website/versioned_docs/version-22.3/Configuration.md @@ -669,6 +669,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-22.4/Configuration.md b/website/versioned_docs/version-22.4/Configuration.md index f7cf200d878a..6054a252cb6d 100644 --- a/website/versioned_docs/version-22.4/Configuration.md +++ b/website/versioned_docs/version-22.4/Configuration.md @@ -702,6 +702,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-23.0/Configuration.md b/website/versioned_docs/version-23.0/Configuration.md index 33032db580b7..d6cddabcf500 100644 --- a/website/versioned_docs/version-23.0/Configuration.md +++ b/website/versioned_docs/version-23.0/Configuration.md @@ -728,6 +728,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-23.1/Configuration.md b/website/versioned_docs/version-23.1/Configuration.md index b4f97e2e514a..189a3d49146d 100644 --- a/website/versioned_docs/version-23.1/Configuration.md +++ b/website/versioned_docs/version-23.1/Configuration.md @@ -732,6 +732,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-23.2/Configuration.md b/website/versioned_docs/version-23.2/Configuration.md index 9ce18c46868d..8791f0c05dd5 100644 --- a/website/versioned_docs/version-23.2/Configuration.md +++ b/website/versioned_docs/version-23.2/Configuration.md @@ -732,6 +732,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-23.3/Configuration.md b/website/versioned_docs/version-23.3/Configuration.md index e86a11489eee..e14b867ab970 100644 --- a/website/versioned_docs/version-23.3/Configuration.md +++ b/website/versioned_docs/version-23.3/Configuration.md @@ -738,6 +738,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-23.4/Configuration.md b/website/versioned_docs/version-23.4/Configuration.md index bb7f67a5c07b..dcc801e3a944 100644 --- a/website/versioned_docs/version-23.4/Configuration.md +++ b/website/versioned_docs/version-23.4/Configuration.md @@ -740,6 +740,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-23.5/Configuration.md b/website/versioned_docs/version-23.5/Configuration.md index f0b8e299b636..aef080a7cd8d 100644 --- a/website/versioned_docs/version-23.5/Configuration.md +++ b/website/versioned_docs/version-23.5/Configuration.md @@ -758,6 +758,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}` diff --git a/website/versioned_docs/version-23.6/Configuration.md b/website/versioned_docs/version-23.6/Configuration.md index 08de1bab0b95..1d1cf51e703d 100644 --- a/website/versioned_docs/version-23.6/Configuration.md +++ b/website/versioned_docs/version-23.6/Configuration.md @@ -768,6 +768,8 @@ beforeAll(() => { }); ``` +_Note: Jest comes with JSDOM@11 by default. Due to JSDOM 12 and newer dropping support for Node 6, Jest is unable to upgrade for the time being. However, you can install a custom `testEnvironment` with whichever version of JSDOM that you want. E.g. [jest-environment-jsdom-thirteen](https://www.npmjs.com/package/jest-environment-jsdom-thirteen) which has JSDOM@13._ + ### `testEnvironmentOptions` [Object] Default: `{}`