);
    }
    
    ReactNoop.render(<Foo text="foo" step={0} />);
    ReactNoop.flush();
    expect(ReactNoop.getChildren()).toEqual([
      div(div(span('Hi'), span('foo'))),
    ]);
    
    
    ReactNoop.render(<Foo text="bar" step={1} />);
    ReactNoop.flushDeferredPri(35);
    
    expect(ReactNoop.getChildren()).toEqual([
      div(div(span('Hi'), span('foo'))),
    ]);
    
    
    
    ReactNoop.render(<Foo text="foo" step={1} />);
    ReactNoop.flush(30);
    
    
    
    expect(ReactNoop.getChildren()).toEqual([
      div(div(span('Hello'), span('World'))),
    ]);
  });
  it('can update a completed tree before it has a chance to commit', () => {
    function Foo(props) {