Skip to content

Commit 93b6f07

Browse files
committed
Fix React 18 ssr test
1 parent e39eb77 commit 93b6f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/integration/ssr.spec.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ describe('New v8 serverState behavior', () => {
163163
)
164164
})
165165

166-
expect(consoleErrorSpy).toHaveBeenCalledOnce()
166+
expect(consoleErrorSpy).toHaveBeenCalledTimes(IS_REACT_18 ? 8 : 1)
167167

168168
expect(consoleErrorSpy).toHaveBeenLastCalledWith('Hydration error')
169169

0 commit comments

Comments
 (0)