diff --git a/packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.internal.js b/packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.internal.js
index 36bf2f007eae9..a17330ffb8457 100644
--- a/packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.internal.js
+++ b/packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.internal.js
@@ -85,6 +85,8 @@ describe('ReactDOMFiberAsync', () => {
this.setState({
asyncValue: nextValue,
});
+ // It should not be flushed yet.
+ expect(asyncValueRef.current.textContent).toBe('');
});
this.setState({
syncValue: nextValue,
@@ -105,7 +107,12 @@ describe('ReactDOMFiberAsync', () => {
);
}
}
- ReactDOM.render(, container);
+ ReactDOM.render(
+
+
+ ,
+ container,
+ );
expect(asyncValueRef.current.textContent).toBe('');
expect(syncValueRef.current.textContent).toBe('');