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.
name: markName,
              ph: 'R',
            });
          });
          const data = await preprocessData(testMarks);
          const event = data.nativeEvents.find(({type}) => type === 'click');
          expect(event.warning).toMatchInlineSnapshot(
            `"An event handler scheduled a big update with React. Consider using the Transition API to defer some of this work."`,
          );
        }
      });
      it('should not warn when React finishes a previously long (async) update with a short (sync) update inside of an event', async () => {
        function Yield({id, value}) {
          Scheduler.unstable_yieldValue(`${id}:${value}`);
          return null;
        }
        if (gate(flags => flags.enableSchedulingProfiler)) {
          const testMarks = [
            creactCpuProfilerSample(),
            ...createBoilerplateEntries(),
          ];
          
          startTime += 50000;
          const root = ReactDOM.createRoot(document.createElement('div'));
          React.startTransition(() => {
            
            root.render(
              <>
                <Yield id="A" value={1} />
                <Yield id="B" value={1} />