If user writes for instead of htmlFor, warning is shown. I suppose autofocus instead of autoFocus should warn too.

}).toThrowError(
        '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', () => {
      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', () => {
      var container = document.createElement('div');
      var inst = ReactDOM.render(<textarea defaultValue="foo"/>, container);
      var tracker = inputValueTracking._getTrackerFromNode(inst);
      expect(tracker.getValue()).toEqual('foo');
    });
    it('should execute custom event plugin listening behavior', () => {
      var SimpleEventPlugin = require('SimpleEventPlugin');
      SimpleEventPlugin.didPutListener = jest.fn();
      SimpleEventPlugin.willDeleteListener = jest.fn();
      var container = document.createElement('div');
      ReactDOM.render(
        <div onClick={() => true} />,
        container
      );
      expect(SimpleEventPlugin.didPutListener.mock.calls.length).toBe(1);
      ReactDOM.unmountComponentAtNode(container);
      expect(SimpleEventPlugin.willDeleteListener.mock.calls.length).toBe(1);