JSPM

jest-environment-jsdom-fourteen

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 266878
  • Score
    100M100P100Q199565F
  • License MIT

JSDOM environment for Jest with JSDOM 14

Package Exports

  • jest-environment-jsdom-fourteen

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jest-environment-jsdom-fourteen) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.