summaryrefslogtreecommitdiff
path: root/cli/tests/unit/net_test.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-04-20 10:12:33 +1000
committerGitHub <noreply@github.com>2021-04-20 10:12:33 +1000
commitb6203cb4657f8269bf80b135b3c49fb9304895c1 (patch)
tree93d1eaf8057926c14ef097db861891ff6504ca7f /cli/tests/unit/net_test.ts
parent07887b120cb8bfeccb3a9dd2d65c4da9d84a3e60 (diff)
revert: Conn type changes in #10012 and #10061 (#10255)
Fixes #10200 (again) This reverts commit 9c7c9a35c12625bd4793c21539391d6b08d17e73 and a8057e3e06962a8d7c6330a085704bb4493eed04.
Diffstat (limited to 'cli/tests/unit/net_test.ts')
-rw-r--r--cli/tests/unit/net_test.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/cli/tests/unit/net_test.ts b/cli/tests/unit/net_test.ts
index 5f9fc916a..725bb9684 100644
--- a/cli/tests/unit/net_test.ts
+++ b/cli/tests/unit/net_test.ts
@@ -18,12 +18,6 @@ unitTest({ perms: { net: true } }, function netTcpListenClose(): void {
listener.close();
});
-unitTest({ perms: { net: true } }, function netListenPortType(): void {
- const listener = Deno.listen({ port: 0, transport: "tcp" });
- listener.addr.port;
- listener.close();
-});
-
unitTest(
{
perms: { net: true },