Deprecated, there are better options now, check out Enzyme
Wraps React stateless components into regular components, for unit testing purposes.
npm install react-stateless-wrapper --save-dev
Usage:
import { wrap } from 'react-stateless-wrapper'
let WrappedComponent = wrap(StatelessComponent)
TestUtils.renderIntoDocument(<WrappedComponent ...props/>)