Skip to content

Commit 84f21d9

Browse files
committed
update test
1 parent 73fa052 commit 84f21d9

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-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
@@ -223,14 +223,16 @@ describe('Error overlay for hydration errors in App router', () => {
223223
<RedirectBoundary>
224224
<RedirectErrorBoundary router={{...}}>
225225
<Head>
226-
<script>
227-
<script>
228-
<script>
229-
<ClientSegmentRoot Component={function Root} slots={{...}} params={{}}>
230-
<Root params={Promise}>
231-
<html
232-
- className="server-html"
233-
>
226+
<SegmentViewNode type="layout" pagePath="layout.js">
227+
<SegmentTrieNode>
228+
<script>
229+
<script>
230+
<script>
231+
<ClientSegmentRoot Component={function Root} slots={{...}} params={{}}>
232+
<Root params={Promise}>
233+
<html
234+
- className="server-html"
235+
>
234236
...",
235237
"description": "A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:",
236238
"environmentLabel": null,
@@ -1098,6 +1100,8 @@ describe('Error overlay for hydration errors in App router', () => {
10981100
<Head>
10991101
<SegmentViewNode type="layout" pagePath="layout.js">
11001102
<SegmentTrieNode>
1103+
<script>
1104+
<script>
11011105
<Layout>
11021106
> <html>
11031107
<body>

test/development/client-dev-overlay/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ describe('client-dev-overlay', () => {
142142
Static
143143
Turbopack
144144
Enabled
145+
Route Info
145146
Preferences"
146147
`)
147148
} else {

0 commit comments

Comments
 (0)