Skip to content

Commit 67855b1

Browse files
committed
Update snapshots
1 parent 0f076de commit 67855b1

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

test/development/acceptance-app/hydration-error.test.ts

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,10 +1107,12 @@ describe('Error overlay for hydration errors in App router', () => {
11071107
<script>
11081108
<script>
11091109
<Layout>
1110-
> <html>
1111-
<body>
1112-
<Script src="https://ex..." strategy="beforeInte...">
1113-
> <script nonce={undefined} dangerouslySetInnerHTML={{__html:"(self.__ne..."}}>
1110+
<NotFound>
1111+
<HTTPAccessErrorFallback>
1112+
> <html>
1113+
<body>
1114+
<Script src="https://ex..." strategy="beforeInte...">
1115+
> <script nonce={undefined} dangerouslySetInnerHTML={{__html:"(self.__ne..."}}>
11141116
...",
11151117
"description": "In HTML, <script> cannot be a child of <html>.
11161118
This will cause a hydration error.",
@@ -1168,10 +1170,12 @@ describe('Error overlay for hydration errors in App router', () => {
11681170
<SegmentViewNode type="layout" pagePath="layout.js">
11691171
<SegmentTrieNode>
11701172
<Layout>
1171-
> <html>
1172-
<body>
1173-
<Script src="https://ex..." strategy="beforeInte...">
1174-
> <script nonce={undefined} dangerouslySetInnerHTML={{__html:"(self.__ne..."}}>
1173+
<NotFound>
1174+
<HTTPAccessErrorFallback>
1175+
> <html>
1176+
<body>
1177+
<Script src="https://ex..." strategy="beforeInte...">
1178+
> <script nonce={undefined} dangerouslySetInnerHTML={{__html:"(self.__ne..."}}>
11751179
...",
11761180
"description": "In HTML, <script> cannot be a child of <html>.
11771181
This will cause a hydration error.",

0 commit comments

Comments
 (0)