summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/run/045_proxy/proxy_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/specs/run/045_proxy/proxy_test.ts b/tests/specs/run/045_proxy/proxy_test.ts
index d3386f0d7..582b0e638 100644
--- a/tests/specs/run/045_proxy/proxy_test.ts
+++ b/tests/specs/run/045_proxy/proxy_test.ts
@@ -23,7 +23,7 @@ async function handler(req: Request): Promise<Response> {
method: req.method,
headers: headers,
});
- return new Response(new Uint8Array(await resp.arrayBuffer()), {
+ return new Response(await resp.bytes(), {
status: resp.status,
headers: resp.headers,
});