Socket
Book a DemoInstallSign in
Socket

jest-environment-jsdom-fifteen

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-environment-jsdom-fifteen

JSDOM environment for Jest with JSDOM 15

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 29 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts