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(mountCall[1]).toBe('mount');
            
            
            expect(mountCall[2]).toBe(flagEnabled && __DEV__ ? 27 : 17);
            
            expect(mountCall[3]).toBe(2);
            
            expect(mountCall[4]).toBe(5);
            
            expect(mountCall[5]).toBe(flagEnabled && __DEV__ ? 32 : 22);
            
            expect(updateCall[1]).toBe('update');
            
            expect(updateCall[2]).toBe(22);
            
            expect(updateCall[3]).toBe(22);
            
            expect(updateCall[4]).toBe(flagEnabled && __DEV__ ? 32 : 22);
            
            expect(updateCall[5]).toBe(flagEnabled && __DEV__ ? 54 : 44);
          });
          it('should accumulate actual time after an error handled by getDerivedStateFromCatch()', () => {
            const callback = jest.fn();
            const ThrowsError = () => {
              advanceTimeBy(10);
              throw Error('expected error');
            };
            class ErrorBoundary extends React.Component {
              state = {error: null};
              static getDerivedStateFromCatch(error) {