text: import 'ignore-styles';
  
  import 'babel-polyfill';
  
  import Enzyme from 'enzyme';
  import Adapter from 'enzyme-adapter-react-16';
  Enzyme.configure({ adapter: new Adapter() });
  
  import { JSDOM } from 'jsdom';
  
  const exposedProperties = ['window', 'navigator', 'document'];
  
  global.window = (new JSDOM('')).window;
  
  window.document.requestFullscreen = () => null;
  window.document.exitFullscreen = () => null;
  
  window.matchMedia = function matchMedia() {
      return {
          addListener: () => null
      };
  };
  
  global.document = window.document;
  
  global.HTMLElement = function HTMLElement() {
      return null;
  };
  
  Object.keys(window).forEach(property => {
      if (typeof global[property] === 'undefined') {
          exposedProperties.push(property);
          global[property] = window[property];
      }
  });
  
  global.navigator = {
      userAgent: 'node.js'
  };
  
  global.documentRef = document; // eslint-disable-line no-undef
  
  