mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-24 02:23:57 +03:00
6 lines
184 B
JavaScript
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;
|