Socket
Socket
Sign inDemoInstall

jest-environment-jsdom-fourteen

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-fourteen

JSDOM environment for Jest with JSDOM 14


Version published
Weekly downloads
298K
increased by3.35%
Maintainers
1
Weekly downloads
 
Created
Source

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.

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc