summaryrefslogtreecommitdiff
path: root/cli/tests/unit_node/http_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit_node/http_test.ts')
-rw-r--r--cli/tests/unit_node/http_test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/unit_node/http_test.ts b/cli/tests/unit_node/http_test.ts
index a84136052..c8c2a52a2 100644
--- a/cli/tests/unit_node/http_test.ts
+++ b/cli/tests/unit_node/http_test.ts
@@ -353,6 +353,7 @@ Deno.test("[node/http] send request with non-chunked body", async () => {
});
req.on("socket", (socket) => {
socket.setKeepAlive();
+ socket.destroy();
});
req.write("hello ");
req.write("world");