mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What Isolate parallel-routes related test cases for streaming metadata into a standalone test suite. Prepared to add more parallel route test cases into it.
13 lines
252 B
TypeScript
13 lines
252 B
TypeScript
export default function Page() {
|
|
return <p>index page</p>
|
|
}
|
|
|
|
export async function generateMetadata() {
|
|
await new Promise((resolve) => setTimeout(resolve, 1 * 1000))
|
|
return {
|
|
title: 'index page',
|
|
}
|
|
}
|
|
|
|
export const dynamic = 'force-dynamic'
|