Skip to content

Commit

Permalink
update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Nov 14, 2024
1 parent f7b0da9 commit 1890a53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/development/acceptance-app/hydration-error.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ describe('Error overlay for hydration errors in App router', () => {
<InnerScrollAndFocusHandler segmentPath={[...]} focusAndScrollRef={{apply:false, ...}}>
<ErrorBoundary errorComponent={undefined} errorStyles={undefined} errorScripts={undefined}>
<LoadingBoundary hasLoading={false} loading={undefined} loadingStyles={undefined} loadingScripts={undefined}>
<HTTPAccessFallbackBoundary notFound={[...]} forbidden={[...]} unauthorized={[...]}>
<HTTPAccessFallbackErrorBoundary pathname="/" notFound={[...]} forbidden={[...]} unauthorized={[...]} missingSlots={Set}>
<HTTPAccessFallbackBoundary notFound={[...]} forbidden={undefined} unauthorized={undefined}>
<HTTPAccessFallbackErrorBoundary pathname="/" notFound={[...]} forbidden={undefined} ...>
<RedirectBoundary>
<RedirectErrorBoundary router={{...}}>
<InnerLayoutRouter parallelRouterKey="children" url="/" tree={[...]} childNodes={Map} ...>
Expand Down Expand Up @@ -927,7 +927,7 @@ describe('Error overlay for hydration errors in App router', () => {
if (isTurbopack) {
expect(fullPseudoHtml).toMatchInlineSnapshot(`
"...
<HTTPAccessFallbackErrorBoundary pathname="/" forbidden={undefined} unauthorized={undefined} ...>
<HTTPAccessFallbackErrorBoundary pathname="/" notFound={[...]} forbidden={undefined} unauthorized={undefined} ...>
<RedirectBoundary>
<RedirectErrorBoundary router={{...}}>
<InnerLayoutRouter parallelRouterKey="children" url="/" tree={[...]} childNodes={Map} segmentPath={[...]} ...>
Expand All @@ -947,7 +947,7 @@ describe('Error overlay for hydration errors in App router', () => {
} else {
expect(fullPseudoHtml).toMatchInlineSnapshot(`
"...
<HTTPAccessFallbackErrorBoundary pathname="/" forbidden={undefined} unauthorized={undefined} ...>
<HTTPAccessFallbackErrorBoundary pathname="/" notFound={[...]} forbidden={undefined} unauthorized={undefined} ...>
<RedirectBoundary>
<RedirectErrorBoundary router={{...}}>
<InnerLayoutRouter parallelRouterKey="children" url="/" tree={[...]} childNodes={Map} segmentPath={[...]} ...>
Expand Down

0 comments on commit 1890a53

Please sign in to comment.