JSPM

jest-environment-jsdom-sixteen

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 67761
  • Score
    100M100P100Q17823F
  • License MIT

Package Exports

  • jest-environment-jsdom-sixteen

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-sixteen) 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-sixteen

Jest v26 ships with JSDOM@16, so no reason to use this package

Jest v25 by default uses JSDOM 15 to support Node 8. This package should also be compatible with Jest 24 and earlier.

This package comes with JSDOM v16, which also enables support for V8 code coverage.

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

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