diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-07-11 15:08:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 15:08:35 +0200 |
commit | 9d5f6f67d612bcf6d5edfec3e6a442f499dab9bd (patch) | |
tree | dec6569df4570e64a8377b5067468782ec5f048a /cli/tests/unit_node/http_test.ts | |
parent | 4cfc54931d765a012b7836e60ba556d9c7b421ff (diff) |
fix(node/http): add destroy to FakeSocket (#19796)
Closes #19782
Diffstat (limited to 'cli/tests/unit_node/http_test.ts')
-rw-r--r-- | cli/tests/unit_node/http_test.ts | 1 |
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"); |