function renderComponent(ComponentClass, props, state) {
	// rendered version of component
	// createStore second parameter stands for the initial state of redux store
	const componentInstance = TestUtils.renderIntoDocument(
		<Provider store={createStore(reducers, state)}>
			<ComponentClass {...props} />
		</Provider>
	);
	return $(ReactDOM.findDOMNode(componentInstance)); // produces HTML wrapped with jquery
}
// ####### renderComponent helper that should render a given react class
renderComponent helper that should render a given react class
renderComponent helper that should render a given react class
function renderComponent(ComponentClass, props, state) {
	const componentInstance = TestUtils.renderIntoDocument(
		<Provider store={createStore(reducers, state)}>
			<ComponentClass {...props} />
		</Provider>
	);
	return $(ReactDOM.findDOMNode(componentInstance)); 
}
function renderComponent ( ComponentClass , props , state ) { const componentInstance = TestUtils . renderIntoDocument ( < Provider store = { createStore ( reducers , state ) } > < ComponentClass { ... props } / > < / Provider > ) ; return $ ( ReactDOM . findDOMNode ( componentInstance ) ) ; }
renderComponent helper that should render a given react class
renderComponent helper that should render a given react class
// rendered version of component // createStore second parameter stands for the initial state of redux store // produces HTML wrapped with jquery