1. jest-environment-jsdom-fifteen
JSDOM environment for Jest with JSDOM 15
jest-environment-jsdom-fifteen
Package: jest-environment-jsdom-fifteen
Created by: ianschmitz
Last modified: Fri, 06 May 2022 12:26:48 GMT
Version: 1.0.2
License: MIT
Downloads: 505,437
Repository: https://github.com/ianschmitz/jest-environment-jsdom-fifteen

Install

npm install jest-environment-jsdom-fifteen
yarn add jest-environment-jsdom-fifteen

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.

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin