Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

ianschmitz/jest-environment-jsdom-fourteen

Repository files navigation

jest-environment-jsdom-fourteen

Deprecated - use jest-environment-jsdom@26 instead.

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.