Skip to content

Commit

Permalink
Fix React 18 ssr test
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed May 16, 2024
1 parent e39eb77 commit 93b6f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/ssr.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 93b6f07

Please sign in to comment.