jest-environment-jsdom-thirteen
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -30,3 +30,4 @@ 'use strict'; | ||
url: config.testURL, | ||
virtualConsole: new _jsdom.VirtualConsole().sendTo(options.console || console) | ||
virtualConsole: new _jsdom.VirtualConsole().sendTo(options.console || console), | ||
resources: options.resources | ||
}, config.testEnvironmentOptions)); | ||
@@ -33,0 +34,0 @@ const global = this.global = this.dom.window.document.defaultView; |
{ | ||
"name": "jest-environment-jsdom-thirteen", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"repository": "https://github.com/theneva/jest-environment-jsdom-thirteen", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -14,5 +14,7 @@ /** | ||
import type {ModuleMocker} from 'jest-mock'; | ||
import {ResourceLoader} from 'jsdom'; | ||
export type EnvironmentOptions = { | ||
console?: Object, | ||
resources?: 'usable' | ResourceLoader | ||
}; | ||
@@ -19,0 +21,0 @@ |
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
22358
674