summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-05-04 20:09:15 +0530
committerGitHub <noreply@github.com>2022-05-04 20:09:15 +0530
commitfb390c57013a51338a58e33ed059c5604c14ab55 (patch)
tree4fa7b08ce1f797d20f95145e0b981cd61032c27b /cli/tests
parent253fbf9d2a15018cbba9c9ea2829bd70e9723362 (diff)
fix(ext/http): explicitly close resource after reading (#14471)
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/unit/http_test.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/tests/unit/http_test.ts b/cli/tests/unit/http_test.ts
index 39bc82fb0..e9fb61dc4 100644
--- a/cli/tests/unit/http_test.ts
+++ b/cli/tests/unit/http_test.ts
@@ -871,7 +871,6 @@ Deno.test(
await respondWith(new Response(f.readable, { status: 200 }));
httpConn.close();
listener.close();
- f.close();
})();
const resp = await fetch("http://127.0.0.1:4503/");
const body = await resp.arrayBuffer();