From 8a636d0600dc7000d1e12b2fc4f4f46ecd70164a Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 23 May 2024 10:27:58 +1000 Subject: feat(ext/fetch): `Request.bytes()` and `Response.bytes()` (#23823) Closes #23790 --- tests/unit_node/http_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit_node') diff --git a/tests/unit_node/http_test.ts b/tests/unit_node/http_test.ts index c57027549..0518d935b 100644 --- a/tests/unit_node/http_test.ts +++ b/tests/unit_node/http_test.ts @@ -174,7 +174,7 @@ Deno.test("[node/http] server can respond with 101, 204, 205, 304 status", async // deno-lint-ignore no-explicit-any `http://127.0.0.1:${(server.address() as any).port}/`, ); - await res.arrayBuffer(); + await res.body?.cancel(); assertEquals(res.status, status); server.close(() => resolve()); }); -- cgit v1.2.3