Skip to content

Commit

Permalink
Update warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Apr 24, 2024
1 parent 70e2680 commit 6ed1e21
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 @@ -576,7 +576,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 6ed1e21

Please sign in to comment.