Skip to content

Commit 6be4e13

Browse files
authored
test(nextjs): Unbreak Next.js integration tests (#8179)
1 parent 3dd4a58 commit 6be4e13

File tree

1 file changed

+1
-1
lines changed
  • packages/nextjs/test/integration/test/server/utils

1 file changed

+1
-1
lines changed

packages/nextjs/test/integration/test/server/utils/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import next from 'next';
99
// Type not exported from NextJS
1010
// @ts-ignore
1111
export const createNextServer = async config => {
12-
const app = next(config);
12+
const app = next({ ...config, customServer: false }); // customServer: false because: https://github.com/vercel/next.js/pull/49805#issuecomment-1557321794
1313
const handle = app.getRequestHandler();
1414
await app.prepare();
1515

0 commit comments

Comments
 (0)