diff --git a/test/integration/ssr.spec.tsx b/test/integration/ssr.spec.tsx index 578417bb6..b0a924da6 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 ? 1 : 8) expect(consoleErrorSpy).toHaveBeenLastCalledWith('Hydration error')