text: import jsdom from 'jsdom'
  import _$ from 'jquery';
  import TestUtils from 'react-addons-test-utils';
  import ReactDOM from 'react-dom';
  import { expect } from 'chai';
  import React from 'react';
  import { Provider } from 'react-redux';
  import { createStore } from 'redux';
  import reducers from '../src/reducers';
  // Set up testing enviroment to run like a browser in the command line
  // window -> global
  global.document = jsdom.jsdom('<!doctype html><html><body></body></html>');
  global.window = global.document.defaultView;
  const $ = _$(global.window); // we want to make responsable of this fake DOM
  
  // Build 'renderComponent' helper that should render a given React class
  function renderComponent(ComponentClass, props, state) {
    const componentInstance = TestUtils.renderDocument(
      <Provider store={createStore(reducers, state)}>
        <ComponentClass {...props}/>
      </Provider>
    );
    return $(ReactDOM.findDOMNode(componentInstance)) // produces HTML
  }
  // Build helper for simulating events
  
  // Set up chai-jquery
  
  export { renderComponent, expect };
  