diff --git a/test/integration/ssr.spec.tsx b/test/integration/ssr.spec.tsx index 578417bb6..ec293c7a8 100644 --- a/test/integration/ssr.spec.tsx +++ b/test/integration/ssr.spec.tsx @@ -163,7 +163,7 @@ describe('New v8 serverState behavior', () => { ) }) - expect(consoleErrorSpy).toHaveBeenCalledOnce() + expect(consoleErrorSpy).toHaveBeenCalledTimes(IS_REACT_18 ? 8 : 1) expect(consoleErrorSpy).toHaveBeenLastCalledWith('Hydration error')