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

);
    });
    it('should warn about contentEditable and children', () => {
      spyOn(console, 'error');
      ReactDOM.render(
        <div contentEditable={true}><div /></div>,
        container
      );
      expect(console.error.calls.count()).toBe(1);
      expect(console.error.calls.argsFor(0)[0]).toContain('contentEditable');
    });
    it('should validate against invalid styles', () => {
      ReactDOM.render(<div></div>, container);
      expect(function() {
        ReactDOM.render(<div style={1}></div>, container);
      }).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 report component containing invalid styles', () => {
      class Animal extends React.Component {
        render() {
          return <div style={1}></div>;
        }
      }
      expect(function() {
        ReactDOM.render(<Animal/>, container);
      }).toThrowError(