Run Jest faster without JSDOM
"scripts": {
"test": "jest --env node",
"test:watch": "jest --watch --env node"
},
This will disable JsDOM and make Jest run much faster
"scripts": {
"test": "jest --env node",
"test:watch": "jest --watch --env node"
},
This will disable JsDOM and make Jest run much faster