rsnext/test/integration/client-404/pages/invalid-link.js
JJ Kasper 1c057e7792
Add test case for loading 404 on invalid bundle (#14082)
This adds a test case to ensure hard navigating when a client bundle fails to load is occurring correctly

x-ref: https://github.com/vercel/next.js/issues/13516
2020-06-11 16:59:25 +00:00

7 lines
165 B
JavaScript

import Link from 'next/link'
export default () => (
<Link href="/[id]/non-existent" as="/another/non-existent">
<a id="to-nonexistent">to 404</a>
</Link>
)