Skip to content

Commit 0f205ec

Browse files
author
Luca Forstner
committed
Rename test
1 parent faaba12 commit 0f205ec

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const WithServerSidePropsPage = ({ data }: { data: string }) => <h1>WithServerSidePropsPage {data}</h1>;
2+
3+
export async function getServerSideProps() {
4+
throw new Error('ServerSideProps Error');
5+
}
6+
7+
export default WithServerSidePropsPage;

packages/nextjs/test/integration/test/server/errorServerSideProps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { sleep } = require('../utils/common');
44
const { getAsync, interceptEventRequest } = require('../utils/server');
55

66
module.exports = async ({ url: urlBase, argv }) => {
7-
const url = `${urlBase}/withServerSideProps`;
7+
const url = `${urlBase}/withErrorServerSideProps`;
88

99
const capturedRequest = interceptEventRequest(
1010
{

0 commit comments

Comments
 (0)