This feature is meant to warn about sync priority updates that block paint (e.g. set state in layout effect) but it appears to also warn for transition priority updates. We should fix this.
ts: ++startTime,
        args: {data: {}},
        cat: 'blink.user_timing',
        name: markName,
        ph: 'R',
      });
    });
    return userTimingData;
  }
  beforeEach(() => {
    jest.resetModules();
    polyfillJSDomUserTiming();
    React = require('react');
    ReactDOM = require('react-dom');
    Scheduler = require('scheduler');
    const TestUtils = require('react-dom/test-utils');
    act = TestUtils.act;
    tid = 0;
    pid = 0;
    startTime = 0;
  });
  afterEach(() => {
    
    expect(marks).toHaveLength(0);
    delete global.performance;
  });
  it('should throw given an empty timeline', async () => {
    await expect(async () => preprocessData([])).rejects.toThrow();
  });
  it('should throw given a timeline with no Profile event', async () => {