span(0),
        ),
      ),
    ]);
    expect(ops).toEqual(['Foo']);
    ops = [];
    
    
    ReactNoop.flush();
    expect(ReactNoop.getChildren()).toEqual([
      div(
        span(3),
        div(
          
          span(1),
          span(1),
          span(1),
          span(1),
          span(1),
          span(1),
        ),
      ),
    ]);
    expect(ops).toEqual(['Bar', 'Baz', 'Bar', 'Bar']);
  });
  it('deprioritizes setStates that happens within a deprioritized tree', () => {
    let ops = [];
    const barInstances = [];
    class Bar extends React.Component {
      constructor() {