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, setValue] = React.useState(0);
          
          const [isPending, startTransition] = React.useTransition();
          Scheduler.unstable_yieldValue(
            `Component rendered with value ${value}`,
          );
          
          if (value !== 0) {
            Scheduler.unstable_yieldValue('Long render');
            startTime += 20000;
          }
          React.useLayoutEffect(() => {
            startTransition(() => {
              setValue(1);
            });
          }, []);
          return value;
        }
        if (gate(flags => flags.enableSchedulingProfiler)) {
          const cpuProfilerSample = creactCpuProfilerSample();
          const root = ReactDOM.createRoot(document.createElement('div'));
          act(() => {
            root.render(<Component />);
          });
          expect(Scheduler).toHaveYielded([
            'Component rendered with value 0',
            'Component rendered with value 0',
            'Component rendered with value 1',