mirror of
https://github.com/denoland/deno.git
synced 2024-12-02 17:01:14 -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 servePromise = Deno.serve({
|
||||
hostname,
|
||||
port,
|
||||
signal: abortController.signal,
|
||||
onListen: undefined,
|
||||
|
@ -526,6 +527,7 @@ Deno.test("[node/http] send request with chunked body", async () => {
|
|||
};
|
||||
const abortController = new AbortController();
|
||||
const servePromise = Deno.serve({
|
||||
hostname,
|
||||
port,
|
||||
signal: abortController.signal,
|
||||
onListen: undefined,
|
||||
|
@ -572,6 +574,7 @@ Deno.test("[node/http] send request with chunked body as default", async () => {
|
|||
};
|
||||
const abortController = new AbortController();
|
||||
const servePromise = Deno.serve({
|
||||
hostname,
|
||||
port,
|
||||
signal: abortController.signal,
|
||||
onListen: undefined,
|
||||
|
|
Loading…
Reference in a new issue