1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 18:17:48 -05:00

restore listening at localhost

This commit is contained in:
Yoshiya Hinosawa 2024-11-15 21:06:43 +09:00
parent 11ce866451
commit bbbaa6629f
No known key found for this signature in database
GPG key ID: 9017DB4559488785

View file

@ -470,6 +470,7 @@ Deno.test("[node/http] send request with non-chunked body", async () => {
}; };
const abortController = new AbortController(); const abortController = new AbortController();
const servePromise = Deno.serve({ const servePromise = Deno.serve({
hostname,
port, port,
signal: abortController.signal, signal: abortController.signal,
onListen: undefined, onListen: undefined,
@ -526,6 +527,7 @@ Deno.test("[node/http] send request with chunked body", async () => {
}; };
const abortController = new AbortController(); const abortController = new AbortController();
const servePromise = Deno.serve({ const servePromise = Deno.serve({
hostname,
port, port,
signal: abortController.signal, signal: abortController.signal,
onListen: undefined, onListen: undefined,
@ -572,6 +574,7 @@ Deno.test("[node/http] send request with chunked body as default", async () => {
}; };
const abortController = new AbortController(); const abortController = new AbortController();
const servePromise = Deno.serve({ const servePromise = Deno.serve({
hostname,
port, port,
signal: abortController.signal, signal: abortController.signal,
onListen: undefined, onListen: undefined,