caoge c760052ff9 机车状态修改 7 months ago
..
lib c760052ff9 机车状态修改 7 months ago
node_modules c760052ff9 机车状态修改 7 months ago
CHANGELOG.md c760052ff9 机车状态修改 7 months ago
LICENSE c760052ff9 机车状态修改 7 months ago
README.md c760052ff9 机车状态修改 7 months ago
package.json c760052ff9 机车状态修改 7 months ago

README.md

jest-environment-jsdom-fifteen

Jest by default uses JSDOM 11 to support Node 6. This package uses JSDOM 15, 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-fifteen or yarn add jest-environment-jsdom-fifteen --dev, and edit your Jest config like so:

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

If you would like to use JSDOM 14, see https://github.com/ianschmitz/jest-environment-jsdom-fourteen.