summaryrefslogtreecommitdiff
path: root/tests/testdata/run/http2_request_url.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/http2_request_url.ts')
-rw-r--r--tests/testdata/run/http2_request_url.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testdata/run/http2_request_url.ts b/tests/testdata/run/http2_request_url.ts
index 5acff8cc2..1c9cab2ea 100644
--- a/tests/testdata/run/http2_request_url.ts
+++ b/tests/testdata/run/http2_request_url.ts
@@ -5,6 +5,7 @@ const listener = Deno.listen({
console.log("READY");
for await (const conn of listener) {
+ // @ts-ignore `Deno.serveHttp()` was soft-removed in Deno 2.
for await (const { request, respondWith } of Deno.serveHttp(conn)) {
const href = new URL(request.url).href;
respondWith(new Response(href));