diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/unit_node/http_test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/unit_node/http_test.ts b/cli/tests/unit_node/http_test.ts index 62cfe59a8..a361ff257 100644 --- a/cli/tests/unit_node/http_test.ts +++ b/cli/tests/unit_node/http_test.ts @@ -352,6 +352,8 @@ Deno.test("[node/http] send request with non-chunked body", async () => { assertEquals(requestBody, "hello world"); }); req.on("socket", (socket) => { + assert(socket.writable); + assert(socket.readable); socket.setKeepAlive(); socket.destroy(); }); |