mirror of
https://github.com/denoland/deno.git
synced 2024-12-03 17:08:35 -05:00
restore listening at localhost
This commit is contained in:
parent
11ce866451
commit
bbbaa6629f
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue