Files
Jiachi LiuandGitHub ab123c1e7c Add test for next-found and redirect for metadata (#46248)
Add tests for using `redirect` and `notFound` in `generateMetadata`
2023-02-22 18:54:14 +01:00

10 lines
164 B
TypeScript

import { notFound } from 'next/navigation'
export default function page() {
return 'not-found-text'
}
export async function generateMetadata() {
notFound()
}