From bf95415430e10dbe787dc4654ed29a0aec7becb1 Mon Sep 17 00:00:00 2001 From: Igor Unanua Date: Thu, 19 Sep 2024 10:49:28 +0200 Subject: [PATCH] Use an object argument --- .../datadog-plugin-fastify/test/integration-test/helper.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/datadog-plugin-fastify/test/integration-test/helper.mjs b/packages/datadog-plugin-fastify/test/integration-test/helper.mjs index 2c9c2ee8da0..e818008c977 100644 --- a/packages/datadog-plugin-fastify/test/integration-test/helper.mjs +++ b/packages/datadog-plugin-fastify/test/integration-test/helper.mjs @@ -4,7 +4,7 @@ export async function createAndStartServer (app) { }) try { - await app.listen(0) + await app.listen({ port: 0 }) const address = app.server.address() const port = address.port process.send({ port })