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.
}
      `);
    }
  });
  
  it('should error if events and measures are incomplete', async () => {
    const container = document.createElement('div');
    ReactDOM.render(<div />, container);
    const invalidMarks = clearedMarks.filter(
      mark => !mark.includes('render-stop'),
    );
    const invalidUserTimingData = createUserTimingData(invalidMarks);
    const error = spyOnDevAndProd(console, 'error');
    preprocessData([...createBoilerplateEntries(), ...invalidUserTimingData]);
    expect(error).toHaveBeenCalled();
  });
  
  it('should error if work is completed without being started', async () => {
    const container = document.createElement('div');
    ReactDOM.render(<div />, container);
    const invalidMarks = clearedMarks.filter(
      mark => !mark.includes('render-start'),
    );
    const invalidUserTimingData = createUserTimingData(invalidMarks);
    const error = spyOnDevAndProd(console, 'error');
    preprocessData([...createBoilerplateEntries(), ...invalidUserTimingData]);
    expect(error).toHaveBeenCalled();
  });
  it('should populate other user timing marks', async () => {
    const userTimingData = createUserTimingData([]);