revert: Conn type changes in #10012 and #10061 (#10255)

Fixes #10200 (again)

This reverts commit 9c7c9a35c1 and a8057e3e06.
This commit is contained in:
Kitson Kelly 2021-04-20 10:12:33 +10:00 committed by GitHub
parent 07887b120c
commit b6203cb465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 50 deletions

View file

@ -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 },