Skip to content

Commit

Permalink
document how to get a newer version of jsdom (#7673)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Jan 21, 2019
1 parent 1124953 commit c70afe2
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-22.0/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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+**
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-22.1/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-22.2/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-22.3/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-22.4/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-23.0/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-23.1/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-23.2/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-23.3/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-23.4/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-23.5/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-23.6/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `{}`
Expand Down

0 comments on commit c70afe2

Please sign in to comment.