Skip to content

Commit 2e4d2a0

Browse files
committed
chore: all the tests
1 parent 267ff0b commit 2e4d2a0

File tree

397 files changed

+16790
-180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

397 files changed

+16790
-180
lines changed

package-lock.json

Lines changed: 22 additions & 180 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/e2e/basepath/external/page.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<html>
2+
<body>
3+
hello from external
4+
</body>
5+
</html>

test/e2e/basepath/pages/404.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import NextError from 'next/error'
2+
3+
export default function Page() {
4+
return <NextError statusCode={404} />
5+
}

test/e2e/basepath/pages/[slug].js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { useRouter } from 'next/router'
2+
3+
const Page = () => <p id="slug">slug: {useRouter().query.slug}</p>
4+
export default Page

0 commit comments

Comments
 (0)