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

});
    it('should not warn when server-side rendering `onScroll`', () => {
      spyOn(console, 'error');
      ReactDOMServer.renderToString(<div onScroll={() => {}}/>);
      expect(console.error).not.toHaveBeenCalled();
    });
  });
  describe('tag sanitization', () => {
    it('should throw when an invalid tag name is used', () => {
      var ReactTestUtils = require('ReactTestUtils');
      var hackzor = React.createElement('script tag');
      expect(
        () => ReactTestUtils.renderIntoDocument(hackzor)
      ).toThrowError(
        'Invalid tag: script tag'
      );
    });
    it('should throw when an attack vector is used', () => {
      var ReactTestUtils = require('ReactTestUtils');
      var hackzor = React.createElement('div><img /><div');
      expect(
        () => ReactTestUtils.renderIntoDocument(hackzor)
      ).toThrowError(
        'Invalid tag: div><img /><div'
      );
    });
  });
  describe('nesting validation', () => {
    var ReactTestUtils;
    beforeEach(() => {