Files
JJ KasperandGitHub c5f1e2f76d Add test case for /404 client transition (#40734)
This adds a test case verifying client transitions to `/404` or
`/_error` are working properly.

Test deployment with patched reproduction can be seen here
https://router-bug-repro-4bozmev4p-ijjk-testing.vercel.app/blocked

Closes: https://github.com/vercel/next.js/issues/40667
2022-09-21 11:29:52 -07:00

6 lines
111 B
JavaScript

import NextError from 'next/error'
export default function Page() {
return <NextError statusCode={404} />
}