Uncaught exception in test/browser-env.js
/Users/user/Projects/parse-request/node_modules/window/node_modules/jsdom/lib/api.js:263
TypeError: virtualConsole must be an instance of VirtualConsole
transformOptions (node_modules/window/node_modules/jsdom/lib/api.js:263:11)
new JSDOM (node_modules/window/node_modules/jsdom/lib/api.js:36:15)
new Window (node_modules/window/src/index.js:13:11)
browserEnv (node_modules/browser-env/src/index.js:28:17)
Object.browserEnv (test/browser-env.js:12:1)
✖ test/browser-env.js exited with a non-zero exit code: 1
It seems all options passed to
jsdom
work exceptvirtualConsole
.