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.

}).not.toThrow();
    });
    it('should warn about contentEditable and children', function() {
      spyOn(console, 'error');
      mountComponent({contentEditable: true, children: ''});
      expect(console.error.argsForCall.length).toBe(1);
      expect(console.error.argsForCall[0][0]).toContain('contentEditable');
    });
    it('should respect suppressContentEditableWarning', function() {
      spyOn(console, 'error');
      mountComponent({contentEditable: true, children: '', suppressContentEditableWarning: true});
      expect(console.error.argsForCall.length).toBe(0);
    });
    it('should validate against invalid styles', function() {
      expect(function() {
        mountComponent({style: 'display: none'});
      }).toThrow(
        'The `style` prop expects a mapping from style properties to values, ' +
        'not a string. For example, style={{marginRight: spacing + \'em\'}} ' +
        'when using JSX.'
      );
    });
    it('should track input values', function() {
      var container = document.createElement('div');
      var inst = ReactDOM.render(<input type="text" defaultValue="foo"/>, container);
      var tracker = inputValueTracking._getTrackerFromNode(inst);
      expect(tracker.getValue()).toEqual('foo');
    });
    it('should track textarea values', function() {
      var container = document.createElement('div');