`SyntheticEvent.type` is undefined when received by the handler. Or the nativeEvent type for that matter.

Needs to be added in here somewhere: https://github.com/facebook/react/blob/3a4e1dbb5b2957875cab6af11a5e5934e125a0d8/src/test/ReactTestUtils.js#L496

I realize that it's not sustainable to have to set _all_ the possible fields for a simulated event, but the type at least makes sense for verification that you're getting the right _sort_ of event.

var shallowRenderer = ReactTestUtils.createRenderer();
    var result = shallowRenderer.render(<SomeComponent />);
    expect(result).toBe(null);
  });
  it('can shallow render with a ref', function() {
    var SomeComponent = React.createClass({
      render: function() {
        return <div ref="hello" />;
      },
    });
    var shallowRenderer = ReactTestUtils.createRenderer();
    
    shallowRenderer.render(<SomeComponent />);
  });
  it('lets you update shallowly rendered components', function() {
    var SomeComponent = React.createClass({
      getInitialState: function() {
        return {clicked: false};
      },
      onClick: function() {
        this.setState({clicked: true});
      },
      render: function() {
        var className = this.state.clicked ? 'was-clicked' : '';
        if (this.props.aNew === 'prop') {
          return (
            <a
              href="#"
              onClick={this.onClick}
              className={className}>