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/testdata | |
parent | f5d0c4b1ea39e34e2e068264f18021a4f7412479 (diff) |
feat(ext/fetch): `Request.bytes()` and `Response.bytes()` (#23823)
Closes #23790
Diffstat (limited to 'tests/testdata')
-rw-r--r-- | tests/testdata/fmt/with_config/subdir/a.ts | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/testdata/fmt/with_config/subdir/a.ts b/tests/testdata/fmt/with_config/subdir/a.ts index 5474b3aa3..14f22d1b2 100644 --- a/tests/testdata/fmt/with_config/subdir/a.ts +++ b/tests/testdata/fmt/with_config/subdir/a.ts @@ -22,15 +22,11 @@ Deno.test( .statusText, ) const u8a = - new Uint8Array( - await response - .arrayBuffer(), - ) + await response + .bytes() const u8a1 = - new Uint8Array( - await response1 - .arrayBuffer(), - ) + await response1 + .bytes() for ( let i = 0; i < |