Ref: https://github.com/facebook/react/issues/631#issuecomment-214909216

It's a little surprising that the codepath is even being hit, maybe that's a bug too, but there should clearly be some sort of `if` check in that area.

}).toThrow(
        'input is a void element tag and must not have `children` or use ' +
        '`props.dangerouslySetInnerHTML`.'
      );
    });
    it('should validate against multiple children props', function() {
      ReactDOM.render(<div></div>, container);
      expect(function() {
        ReactDOM.render(
          <div children="" dangerouslySetInnerHTML={{__html: ''}}></div>,
          container
        );
      }).toThrow(
        'Can only set one of `children` or `props.dangerouslySetInnerHTML`.'
      );
    });
    it('should warn about contentEditable and children', function() {
      spyOn(console, 'error');
      ReactDOM.render(
        <div contentEditable={true}><div /></div>,
        container
      );
      expect(console.error.argsForCall.length).toBe(1);
      expect(console.error.argsForCall[0][0]).toContain('contentEditable');
    });
    it('should validate against invalid styles', function() {
      ReactDOM.render(<div></div>, container);
      expect(function() {
        ReactDOM.render(<div style={1}></div>, container);
      }).toThrow(