mirror of
https://github.com/denoland/deno.git
synced 2025-01-07 22:58:24 -05:00
enable another case
This commit is contained in:
parent
cf6ae67a31
commit
8714e718bc
2 changed files with 31 additions and 33 deletions
|
@ -703,6 +703,8 @@ function _lookupAndConnect(
|
||||||
} else {
|
} else {
|
||||||
self._unrefTimer();
|
self._unrefTimer();
|
||||||
|
|
||||||
|
defaultTriggerAsyncIdScope(self[asyncIdSymbol], nextTick, () => {
|
||||||
|
if (self.connecting) {
|
||||||
defaultTriggerAsyncIdScope(
|
defaultTriggerAsyncIdScope(
|
||||||
self[asyncIdSymbol],
|
self[asyncIdSymbol],
|
||||||
_internalConnect,
|
_internalConnect,
|
||||||
|
@ -714,6 +716,8 @@ function _lookupAndConnect(
|
||||||
localPort,
|
localPort,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
|
@ -1074,12 +1074,7 @@ Deno.test("[node/https] node:https exports globalAgent", async () => {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
Deno.test(
|
Deno.test("[node/http] node:http request.setHeader(header, null) doesn't throw", () => {
|
||||||
"[node/http] node:http request.setHeader(header, null) doesn't throw",
|
|
||||||
{
|
|
||||||
ignore: true,
|
|
||||||
},
|
|
||||||
() => {
|
|
||||||
{
|
{
|
||||||
const req = http.request("http://localhost:4545/");
|
const req = http.request("http://localhost:4545/");
|
||||||
req.on("error", () => {});
|
req.on("error", () => {});
|
||||||
|
@ -1096,8 +1091,7 @@ Deno.test(
|
||||||
req.end();
|
req.end();
|
||||||
req.destroy();
|
req.destroy();
|
||||||
}
|
}
|
||||||
},
|
});
|
||||||
);
|
|
||||||
|
|
||||||
Deno.test("[node/http] ServerResponse getHeader", async () => {
|
Deno.test("[node/http] ServerResponse getHeader", async () => {
|
||||||
const { promise, resolve } = Promise.withResolvers<void>();
|
const { promise, resolve } = Promise.withResolvers<void>();
|
||||||
|
|
Loading…
Reference in a new issue