diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-05-23 10:27:58 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 00:27:58 +0000 |
commit | 8a636d0600dc7000d1e12b2fc4f4f46ecd70164a (patch) | |
tree | a568fcac6b658e041f15da3b62953a5b812433f6 /tests/unit_node/http_test.ts | |
parent | f5d0c4b1ea39e34e2e068264f18021a4f7412479 (diff) |
feat(ext/fetch): `Request.bytes()` and `Response.bytes()` (#23823)
Closes #23790
Diffstat (limited to 'tests/unit_node/http_test.ts')
-rw-r--r-- | tests/unit_node/http_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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()); }); |