UNPKG

react-causality-redux

Version:
14 lines (10 loc) 278 B
const { JSDOM } = require('jsdom'); const jsdom = new JSDOM('<!doctype html><html><body></body></html>', { url: 'http://localhost', }); const { window } = jsdom; global.window = window; global.document = window.document; global.navigator = { userAgent: 'node.js' };