From b018d99cee8fc48ea1def00263925c0e087dda4d Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Mon, 22 May 2023 14:29:05 +0000 Subject: [PATCH] test(nextjs): Unbreak Next.js integration tests --- packages/nextjs/test/integration/test/server/utils/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/test/integration/test/server/utils/helpers.ts b/packages/nextjs/test/integration/test/server/utils/helpers.ts index e483f08a144c..c7213785493f 100644 --- a/packages/nextjs/test/integration/test/server/utils/helpers.ts +++ b/packages/nextjs/test/integration/test/server/utils/helpers.ts @@ -9,7 +9,7 @@ import next from 'next'; // Type not exported from NextJS // @ts-ignore export const createNextServer = async config => { - const app = next(config); + const app = next({ ...config, customServer: false }); // customServer: false because: https://github.com/vercel/next.js/pull/49805#issuecomment-1557321794 const handle = app.getRequestHandler(); await app.prepare();