From 1f6b6d548736f9270b0a22d476dff69ef182d1f6 Mon Sep 17 00:00:00 2001 From: hrmny Date: Fri, 23 Jun 2023 05:22:57 +0200 Subject: [PATCH] fix apply --- test/lib/next-test-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/next-test-utils.ts b/test/lib/next-test-utils.ts index e4c7386ab280ea..a878c17c9a66f4 100644 --- a/test/lib/next-test-utils.ts +++ b/test/lib/next-test-utils.ts @@ -588,7 +588,7 @@ export async function startStaticServer( }) } - await promisify(server.listen).apply(server, fixedPort) + await promisify(server.listen).apply(server, [fixedPort]) return server }