Skip to content

Commit 1eef6cb

Browse files
committed
Adjust tests to ignore serialized RSC props
1 parent b04ed62 commit 1eef6cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/e2e/app-dir/rsc-basic/app/css-in-js/suspense/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function page() {
3434
<div>
3535
<Footer id="footer">
3636
{`wait for `}
37-
<Suspense fallback={`fallback`}>
37+
<Suspense fallback={`$test-fallback-sentinel`}>
3838
<SuspenseyFooter />
3939
</Suspense>
4040
</Footer>

test/e2e/app-dir/rsc-basic/rsc-basic.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ describe('app dir - rsc basics', () => {
407407
const hasRCScript = /\$RC=function/.test(chunk)
408408
if (hasRCScript) results.push('refresh-script')
409409

410-
const isFallbackResolved = chunk.includes('fallback')
410+
const isFallbackResolved = chunk.includes('$test-fallback-sentinel')
411411
if (isFallbackResolved) results.push('fallback')
412412
})
413413

0 commit comments

Comments
 (0)