Skip to content

Commit

Permalink
Adjust tests to ignore serialized RSC props
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Oct 11, 2024
1 parent b04ed62 commit 1eef6cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/app-dir/rsc-basic/app/css-in-js/suspense/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function page() {
<div>
<Footer id="footer">
{`wait for `}
<Suspense fallback={`fallback`}>
<Suspense fallback={`$test-fallback-sentinel`}>
<SuspenseyFooter />
</Suspense>
</Footer>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/app-dir/rsc-basic/rsc-basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ describe('app dir - rsc basics', () => {
const hasRCScript = /\$RC=function/.test(chunk)
if (hasRCScript) results.push('refresh-script')

const isFallbackResolved = chunk.includes('fallback')
const isFallbackResolved = chunk.includes('$test-fallback-sentinel')
if (isFallbackResolved) results.push('fallback')
})

Expand Down

0 comments on commit 1eef6cb

Please sign in to comment.