Skip to content

Commit

Permalink
fix hydration-error assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed Mar 21, 2024
1 parent 50badce commit f04b33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/development/acceptance-app/hydration-error.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ describe('Error overlay for hydration errors', () => {

const warning = await session.getRedboxDescriptionWarning()
expect(warning).toContain(
'In HTML, <script> cannot be a child of <html>.\nThis will cause a hydration error.'
`Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async=\"\" or moving it into the root <head> tag.`
)

await cleanup()
Expand Down

0 comments on commit f04b33d

Please sign in to comment.