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">

throw Error('Expected error');
        }
        if (gate(flags => flags.enableSchedulingProfiler)) {
          const testMarks = [creactCpuProfilerSample()];
          
          const root = ReactDOM.createRoot(document.createElement('div'));
          act(() =>
            root.render(
              <ErrorBoundary>
                <ExampleThatThrows />
              </ErrorBoundary>,
            ),
          );
          testMarks.push(...createUserTimingData(clearedMarks));
          const data = await preprocessData(testMarks);
          expect(data.thrownErrors).toHaveLength(2);
          expect(data.thrownErrors[0].message).toMatchInlineSnapshot(
            '"Expected error"',
          );
        }
      });
    });
    describe('suspend during an update', () => {
      
      
      it('should warn about suspending during an udpate', async () => {
        let promise = null;
        let resolvedValue = null;
        function readValue(value) {