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(renderer).toFlushThrough(['Yield:10']);
        expect(callback).toHaveBeenCalledTimes(0);
        
        advanceTimeBy(100); 
        
        
        renderer.unstable_flushSync(() => {
          renderer.update(
            <React.unstable_Profiler id="test" onRender={callback}>
              <Yield renderTime={5} />
            </React.unstable_Profiler>,
          );
        });
        expect(ReactTestRenderer).toClearYields(['Yield:5']);
        
        
        expect(callback).toHaveBeenCalledTimes(1);
        let call = callback.mock.calls[0];
        expect(call[2]).toBe(5); 
        expect(call[3]).toBe(5); 
        expect(call[4]).toBe(115); 
        expect(call[5]).toBe(120); 
        callback.mockReset();
        
        expect(renderer).toFlushAll([]);
        expect(callback).toHaveBeenCalledTimes(0);
      });
      it('should report the expected times when a high-priority update replaces a low-priority update', () => {
        const callback = jest.fn();