redux-devtools/extension/examples/router/test/setup.js

6 lines
184 B
JavaScript
Raw Permalink Normal View History

import { jsdom } from 'jsdom';
global.document = jsdom('<!doctype html><html><body></body></html>');
global.window = document.defaultView;
global.navigator = global.window.navigator;