summaryrefslogtreecommitdiff
path: root/tests/unit/worker_test.ts
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-05-23 10:27:58 +1000
committerGitHub <noreply@github.com>2024-05-23 00:27:58 +0000
commit8a636d0600dc7000d1e12b2fc4f4f46ecd70164a (patch)
treea568fcac6b658e041f15da3b62953a5b812433f6 /tests/unit/worker_test.ts
parentf5d0c4b1ea39e34e2e068264f18021a4f7412479 (diff)
feat(ext/fetch): `Request.bytes()` and `Response.bytes()` (#23823)
Closes #23790
Diffstat (limited to 'tests/unit/worker_test.ts')
-rw-r--r--tests/unit/worker_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/worker_test.ts b/tests/unit/worker_test.ts
index 33e25f70e..a66eb69a9 100644
--- a/tests/unit/worker_test.ts
+++ b/tests/unit/worker_test.ts
@@ -689,7 +689,7 @@ Deno.test({
assert(worker);
const response = await fetch("http://localhost:4506");
- assert(await response.arrayBuffer());
+ assert(await response.bytes());
worker.terminate();
},
});