diff --git a/test/compat/async.test.jsx b/test/compat/async.test.jsx index 0ca7835..62a347d 100644 --- a/test/compat/async.test.jsx +++ b/test/compat/async.test.jsx @@ -254,6 +254,48 @@ describe('Async renderToString', () => { expect(rendered).to.equal(expected); }); + it('should render JSX with multiple suspended direct children within a single suspense boundary that resolve one-after-another', async () => { + const { + Suspender: SuspenderOne, + suspended: suspendedOne + } = createSuspender(); + const { + Suspender: SuspenderTwo, + suspended: suspendedTwo + } = createSuspender(); + const { + Suspender: SuspenderThree, + suspended: suspendedThree + } = createSuspender(); + + const promise = renderToStringAsync( +