Skip to content

Commit

Permalink
fix server.listen
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Jun 23, 2023
1 parent d029b78 commit 16c7a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/next-test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ export async function startStaticServer(
})
}

await promisify(server.listen).apply(server, fixedPort)
await promisify(server.listen).bind(server, fixedPort)
return server
}

Expand Down

0 comments on commit 16c7a0c

Please sign in to comment.