// Set up testing enviroment to run like a browser in the command line 


// Build 'renderComponent' helper that should render a given react class


// Build helper for simulating events


// Set up chai-jquery
import jsdom from 'jsdom';
import jquery from 'jquery';
import TestUtils from 'react-addons-test-utils';

// Set up testing enviroment to run like a browser in the command line 
global.document = jsdom.jsdom('<!doctype html><html><body></body></html>');
global.window = global.document.defaultView;
const $ = _$(global.window);

// Build 'renderComponent' helper that should render a given react class
function renderComponent(ComponentClass) {
  const componentInstance = TestUtils.renderIntoDocument(<ComponentClass />);

  return $(ReactDOM.findDOMNode(componentInstance)); // produces HTML
}


// Build helper for simulating events


// Set up chai-jquery
Set up running like browser in command line, build renderComponent helper function
Set up running like browser in command line, build renderComponent helper function
