import { jsdom } from 'jsdom';

global.document = jsdom(`
    <body></body>
`);

global.window = document.defaultView;
global.navigator = window.navigator;

import { jsdom } from 'jsdom';

global.document = jsdom(`
    <body></body>
`);

global.window = document.defaultView;
global.navigator = window.navigator;
global.addEventListener = () => {};

Add addEventListener to test browser env setup
Add addEventListener to test browser env setup
