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.
const value = readValue(123);
      return value;
    }
    if (gate(flags => flags.enableSchedulingProfiler)) {
      const testMarks = [creactCpuProfilerSample()];
      const root = ReactDOM.createRoot(document.createElement('div'));
      act(() =>
        root.render(
          <React.Suspense fallback="Loading...">
            <Component />
          </React.Suspense>,
        ),
      );
      testMarks.push(...createUserTimingData(clearedMarks));
      const data = await preprocessData(testMarks);
      expect(data.suspenseEvents).toHaveLength(1);
      expect(data.suspenseEvents[0].promiseName).toBe('Testing displayName');
    }
  });
  describe('warnings', () => {
    describe('long event handlers', () => {
      it('should not warn when React scedules a (sync) update inside of a short event handler', async () => {
        function App() {