While working on the DevTools profiler, I've noticed that durations are sometimes incorrect. This seems to be vaguely related to high/low priority state updates. Need to track this down more so I'm filing an issue for myself.
);
            expect(ReactNoop.flush).toThrow('Error in host config.');
            
            
            ReactNoop.render(
              <React.unstable_Profiler id="profiler" onRender={jest.fn()}>
                <span>hi</span>
              </React.unstable_Profiler>,
            );
            ReactNoop.flush();
          });
        });
      });
    });
    it('reflects the most recently rendered id value', () => {
      const callback = jest.fn();
      advanceTimeBy(5); 
      const renderer = ReactTestRenderer.create(
        <React.unstable_Profiler id="one" onRender={callback}>
          <AdvanceTime byAmount={2} />
        </React.unstable_Profiler>,
      );
      expect(callback).toHaveBeenCalledTimes(1);
      advanceTimeBy(20); 
      renderer.update(
        <React.unstable_Profiler id="two" onRender={callback}>
          <AdvanceTime byAmount={1} />
        </React.unstable_Profiler>,
      );
      expect(callback).toHaveBeenCalledTimes(2);