From ee4c391886dc7c4a31754d7254104abf97cff831 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 25 Oct 2024 00:32:42 +0900 Subject: [PATCH] fix tls_test.ts. Now it needs some listener to cause initial read --- tests/unit_node/tls_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_node/tls_test.ts b/tests/unit_node/tls_test.ts index 236dab2086..628d0ade1f 100644 --- a/tests/unit_node/tls_test.ts +++ b/tests/unit_node/tls_test.ts @@ -213,7 +213,7 @@ Deno.test("tls.connect() throws InvalidData when there's error in certificate", host: "localhost", port: 4557, }); - + conn.on("data", () => {}); conn.on("error", (err) => { console.log(err); });