diff options
Diffstat (limited to 'tests/unit_node/net_test.ts')
-rw-r--r-- | tests/unit_node/net_test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_node/net_test.ts b/tests/unit_node/net_test.ts index eac4633cb..e08b24c02 100644 --- a/tests/unit_node/net_test.ts +++ b/tests/unit_node/net_test.ts @@ -55,6 +55,7 @@ Deno.test("[node/net] net.connect().unref() works", async () => { const ctl = new AbortController(); const server = Deno.serve({ signal: ctl.signal, + port: 0, // any available port will do handler: () => new Response("hello"), onListen: async ({ port, hostname }) => { const { stdout, stderr } = await new Deno.Command(Deno.execPath(), { |