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

render() {
          return <span />;
        }
        componentWillUnmount() {
          
          expect(ReactDOM.findDOMNode(this).nodeName).toBe('SPAN');
        }
      }
      var container = document.createElement('div');
      ReactDOM.render(<div><Inner /></div>, container);
      ReactDOM.unmountComponentAtNode(container);
    });
  });
  describe('onScroll warning', () => {
    it('should warn about the `onScroll` issue when unsupported (IE8)', () => {
      
      
      jest.resetModuleRegistry()
        .mock('isEventSupported');
      var isEventSupported = require('isEventSupported');
      isEventSupported.mockReturnValueOnce(false);
      var ReactTestUtils = require('ReactTestUtils');
      spyOn(console, 'error');
      ReactTestUtils.renderIntoDocument(<div onScroll={function() {}} />);
      expect(console.error.calls.count()).toBe(1);
      expect(console.error.calls.argsFor(0)[0]).toBe(
        'Warning: This browser doesn\'t support the `onScroll` event'
      );