leonardovillela / jest-environment-jsdom-sixteen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jest-environment-jsdom-sixteen

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"
}

About

License:MIT License


Languages

Language:JavaScript 100.0%