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.
return null;
        }
        if (gate(flags => flags.enableSchedulingProfiler)) {
          const testMarks = [
            creactCpuProfilerSample(),
            ...createBoilerplateEntries(),
            createNativeEventEntry('click', 5),
          ];
          clearedMarks.splice(0);
          ReactDOM.render(<App />, document.createElement('div'));
          testMarks.push(...createUserTimingData(clearedMarks));
          const data = await preprocessData(testMarks);
          const event = data.nativeEvents.find(({type}) => type === 'click');
          expect(event.warning).toBe(null);
        }
      });
      it('should not warn about long events if the cause was non-React JavaScript', async () => {
        function App() {