rsnext/test/e2e/app-dir/rsc-basic/components/nav.js
Jiachi Liu f7de771beb
Migrate rsc integration tests to e2e tests (#38460)
* Migrate rsc integration tests to e2e tests

* skip image test

* remove image page

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-09 14:02:30 +02:00

23 lines
464 B
JavaScript

import Link from 'next/link'
export default function Nav() {
return (
<>
<div>
<Link href={'/next-api/link'}>
<a id="goto-next-link">next link</a>
</Link>
</div>
<div>
<Link href={'/streaming-rsc'}>
<a id="goto-streaming-rsc">streaming rsc</a>
</Link>
</div>
<div>
<Link href={'/root'}>
<a id="goto-home">home</a>
</Link>
</div>
</>
)
}