redux-devtools/packages/redux-devtools-remote/examples/todomvc/test/setup.js
2021-10-28 20:39:47 +00:00

6 lines
184 B
JavaScript

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