Skip to content

Commit

Permalink
fix: requested change of using the port parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Allain55 committed Feb 25, 2022
1 parent 2118fbf commit 138dae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stream.test.js
Expand Up @@ -714,7 +714,7 @@ test('reply.send handles aborted requests', t => {
}, 6)
})

fastify.listen(0, err => {
fastify.listen({ port: 0 }, err => {
t.error(err)
fastify.server.unref()

Expand Down

0 comments on commit 138dae2

Please sign in to comment.