#6585

});
    it('should clean up input textarea tracking', function() {
      var container = document.createElement('div');
      var node = ReactDOM.render(<textarea defaultValue="foo"/>, container);
      var tracker = inputValueTracking._getTrackerFromNode(node);
      spyOn(tracker, 'stopTracking');
      ReactDOM.unmountComponentAtNode(container);
      expect(tracker.stopTracking.calls.length).toBe(1);
    });
    it('unmounts children before unsetting DOM node info', function() {
      var Inner = React.createClass({
        render: function() {
          return <span />;
        },
        componentWillUnmount: function() {
          
          expect(ReactDOM.findDOMNode(this).nodeName).toBe('SPAN');
        },
      });
      var container = document.createElement('div');
      ReactDOM.render(<div><Inner /></div>, container);
      ReactDOM.unmountComponentAtNode(container);
    });
  });
  describe('onScroll warning', function() {
    it('should warn about the `onScroll` issue when unsupported (IE8)', () => {
      
      
      jest.resetModuleRegistry()
        .mock('isEventSupported');