jest-fixed-jsdom
Advanced tools
Comparing version 0.0.8 to 0.0.9
11
index.js
@@ -7,2 +7,13 @@ const JSDOMEnvironment = require('jest-environment-jsdom').default | ||
/** | ||
* @note Opt-out from JSDOM using browser-style resolution | ||
* for dependencies. This is simply incorrect, as JSDOM is | ||
* not a browser, and loading browser-oriented bundles in | ||
* Node.js will break things. | ||
* | ||
* Consider migrating to a more modern test runner if you | ||
* don't want to deal with this. | ||
*/ | ||
this.customExportConditions = args.customExportConditions || [''] | ||
this.global.TextDecoder = TextDecoder | ||
@@ -9,0 +20,0 @@ this.global.TextEncoder = TextEncoder |
{ | ||
"name": "jest-fixed-jsdom", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "A superset of the JSDOM environment for Jest that respects Node.js globals.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11956
190