Skip to content
A Jest test environment for JSDOM 14
TypeScript JavaScript
Branch: master
Clone or download
Latest commit 7c6217c Nov 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Revert userAgent bug fix Nov 29, 2019
.gitignore Initial commit Mar 16, 2019
.npmrc Initial commit Mar 16, 2019
.prettierrc Initial commit Mar 16, 2019
CHANGELOG.md Release 1.0.1 Nov 29, 2019
LICENSE Initial commit Mar 16, 2019
README.md
jest.config.js Initial commit Mar 16, 2019
package.json
tsconfig.build.json Cleanup tests Nov 28, 2019
tsconfig.json

README.md

jest-environment-jsdom-fourteen

Jest by default uses JSDOM 11 to support Node 6. This package uses JSDOM 14, which supports Node >= 8, and does not support Node 6 (and will therefore not be used in Jest any time soon).

If you need a newer JSDOM than the one that ships with Jest, install this package using npm install --save-dev jest-environment-jsdom-fourteen or yarn add jest-environment-jsdom-fourteen --dev, and edit your Jest config like so:

{
  "testEnvironment": "jest-environment-jsdom-fourteen"
}

If you would like to use JSDOM 13, see https://github.com/theneva/jest-environment-jsdom-thirteen.

You can’t perform that action at this time.