redux-devtools/packages/redux-devtools-remote/examples/todomvc/test/setup.js

6 lines
184 B
JavaScript
Raw Permalink Normal View History

2021-10-28 23:39:47 +03:00
import { jsdom } from 'jsdom';
global.document = jsdom('<!doctype html><html><body></body></html>');
global.window = document.defaultView;
global.navigator = global.window.navigator;