Example: https://jsfiddle.net/gingur/u0h2rjae/1/

When generating **child context** with a stateless Component, the context is not available to the children.

return <StatelessComponent {...this.props} />;
      },
    });
    var el = document.createElement('div');
    ReactDOM.render(<Parent name="A" />, el);
    expect(el.textContent).toBe('A');
    ReactDOM.render(<Parent name="B" />, el);
    expect(el.textContent).toBe('B');
  });
  it('should unmount stateless component', function() {
    var container = document.createElement('div');
    ReactDOM.render(<StatelessComponent name="A" />, container);
    expect(container.textContent).toBe('A');
    ReactDOM.unmountComponentAtNode(container);
    expect(container.textContent).toBe('');
  });
  it('should pass context thru stateless component', function() {
    var Child = React.createClass({
      contextTypes: {
        test: React.PropTypes.string.isRequired,
      },
      render: function() {
        return <div>{this.context.test}</div>;
      },
    });
    function Parent() {