Skip to content

Commit 3402e65

Browse files
committed
Update hydration diff snapshots
1 parent d415f32 commit 3402e65

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

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

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -834,41 +834,39 @@ describe('Error overlay for hydration errors', () => {
834834
if (isTurbopack) {
835835
expect(fullPseudoHtml).toMatchInlineSnapshot(`
836836
"...
837-
<NotFoundErrorBoundary pathname="/" notFound={[...]} notFoundStyles={[...]} asNotFound={undefined} missingSlots={Set}>
838-
<RedirectBoundary>
839-
<RedirectErrorBoundary router={{...}}>
840-
<InnerLayoutRouter parallelRouterKey="children" url="/" tree={[...]} childNodes={Map} segmentPath={[...]} ...>
841-
<ClientPageRoot props={{params:{}, ...}} Component={function Page}>
842-
<Page params={{}} searchParams={{}}>
837+
<RedirectBoundary>
838+
<RedirectErrorBoundary router={{...}}>
839+
<InnerLayoutRouter parallelRouterKey="children" url="/" tree={[...]} childNodes={Map} segmentPath={[...]} ...>
840+
<ClientPageRoot props={{params:{}, ...}} Component={function Page}>
841+
<Page params={{}} searchParams={{}}>
842+
<div>
843843
<div>
844844
<div>
845845
<div>
846-
<div>
847-
<Mismatch>
848-
<p>
849-
<span>
850-
...
851-
+ client
852-
- server"
846+
<Mismatch>
847+
<p>
848+
<span>
849+
...
850+
+ client
851+
- server"
853852
`)
854853
} else {
855854
expect(fullPseudoHtml).toMatchInlineSnapshot(`
856855
"...
857-
<NotFoundErrorBoundary pathname="/" notFound={[...]} notFoundStyles={[...]} asNotFound={undefined} missingSlots={Set}>
858-
<RedirectBoundary>
859-
<RedirectErrorBoundary router={{...}}>
860-
<InnerLayoutRouter parallelRouterKey="children" url="/" tree={[...]} childNodes={Map} segmentPath={[...]} ...>
861-
<ClientPageRoot props={{params:{}, ...}} Component={function Page}>
862-
<Page params={{}} searchParams={{}}>
856+
<RedirectBoundary>
857+
<RedirectErrorBoundary router={{...}}>
858+
<InnerLayoutRouter parallelRouterKey="children" url="/" tree={[...]} childNodes={Map} segmentPath={[...]} ...>
859+
<ClientPageRoot props={{params:{}, ...}} Component={function Page}>
860+
<Page params={{}} searchParams={{}}>
861+
<div>
863862
<div>
864863
<div>
865864
<div>
866-
<div>
867-
<Mismatch>
868-
<p>
869-
<span>
870-
+ client
871-
- server"
865+
<Mismatch>
866+
<p>
867+
<span>
868+
+ client
869+
- server"
872870
`)
873871
}
874872

0 commit comments

Comments
 (0)