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

6 lines
184 B
JavaScript
Raw 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;