For example:
<img width="1904" alt="Screen Shot 2021-11-05 at 11 59 05 AM" src="https://user-images.githubusercontent.com/29597/140540816-25d6d47b-7aea-4121-aeaa-565accc65b1f.png">

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 act(() => 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() {