Socket
Socket
Sign inDemoInstall

jest-environment-jsdom-fourteen

Package Overview
Dependencies
399
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

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
280K
decreased by-14.86%
Maintainers
1
Install size
22.8 MB
Created
Weekly downloads
 

Changelog

Source

1.0.1 (2019-11-29)

:bug: Bug Fix
  • f891deb Revert userAgent bug fix as it unintentionally caused resources to be requested over the network (@ianschmitz)

Readme

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

Last updated on 29 Nov 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc