Skip to content

Commit 33fd8a0

Browse files
refactor: clarify test description for child async component hydration in SuspenseHydration test
1 parent fbbc8fe commit 33fd8a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node_package/tests/SuspenseHydration.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ async function renderAndHydrate() {
182182
expect(screen.queryByText('Hello World')).not.toBeInTheDocument();
183183
});
184184

185-
it('hydrates the container when its content is written to the document', async () => {
185+
it('hydrates the child async component when its content is written to the document', async () => {
186186
const { writeFirstChunk, writeSecondChunk, onAsyncComponentHydrated, onContainerHydrated, hydrate } =
187187
await renderAndHydrate();
188188

0 commit comments

Comments
 (0)