/* eslint-disable import/first */ import '../src/polyfill'; import { jsdom } from 'jsdom'; import Enzyme from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; Enzyme.configure({ adapter: new Adapter() }); // fixed jsdom miss const documentHTML = '
'; global.document = jsdom(documentHTML); global.window = document.defaultView; global.navigator = global.window.navigator;