diff --git a/packages/react-dom/src/__tests__/ReactDOMFizzForm-test.js b/packages/react-dom/src/__tests__/ReactDOMFizzForm-test.js
index f64cdd8bb8e3..c7f52b1c6889 100644
--- a/packages/react-dom/src/__tests__/ReactDOMFizzForm-test.js
+++ b/packages/react-dom/src/__tests__/ReactDOMFizzForm-test.js
@@ -201,25 +201,24 @@ describe('ReactDOMFizzForm', () => {
await act(async () => {
ReactDOMClient.hydrateRoot(container, );
});
- assertConsoleErrorDev(
- [
- "A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. " +
- "This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n" +
- "- A server/client branch `if (typeof window !== 'undefined')`.\n" +
- "- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n" +
- "- Date formatting in a user's locale which doesn't match the server.\n" +
- '- External changing data without sending a snapshot of it along with the HTML.\n' +
- '- Invalid HTML tag nesting.\n\n' +
- 'It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n' +
- 'https://react.dev/link/hydration-mismatch\n\n' +
- ' \n' +
- '