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.
expect(data.suspenseEvents).toHaveLength(1);
          expect(data.suspenseEvents[0].warning).toMatchInlineSnapshot(
            `"A component suspended during an update which caused a fallback to be shown. Consider using the Transition API to avoid hiding components after they've been mounted."`,
          );
        }
      });
      it('should not warn about suspending during an transition', async () => {
        let promise = null;
        let resolvedValue = null;
        function readValue(value) {
          if (resolvedValue !== null) {
            return resolvedValue;
          } else if (promise === null) {
            promise = Promise.resolve(true).then(() => {
              resolvedValue = value;
            });
          }
          throw promise;
        }
        function Component({shouldSuspend}) {
          Scheduler.unstable_yieldValue(`Component ${shouldSuspend}`);
          if (shouldSuspend) {
            readValue(123);
          }
          return null;
        }
        if (gate(flags => flags.enableSchedulingProfiler)) {
          
          const root = ReactDOM.createRoot(document.createElement('div'));
          act(() =>