diff options
author | Levente Kurusa <lkurusa@kernelstuff.org> | 2023-04-22 13:20:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 13:20:00 +0200 |
commit | d137501a639cb315772866f6775fcd9f43e28f5b (patch) | |
tree | db2458400416f26f57138b8b90079bf4f1e098f6 /cli/tests | |
parent | 068228cb454d14a6f5943061a5a6569b9e395e23 (diff) |
feat(node/http): implement ClientRequest.setTimeout() (#18783)
- implement setTimeout with matching semantics of Node
- add the test from Node but leave it turned off because ClientRequest
has no underlying socket
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/node_compat/config.jsonc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/node_compat/config.jsonc b/cli/tests/node_compat/config.jsonc index ddbdf458f..ce1cf3a08 100644 --- a/cli/tests/node_compat/config.jsonc +++ b/cli/tests/node_compat/config.jsonc @@ -351,6 +351,9 @@ "test-http-agent-getname.js", "test-http-client-get-url.js", "test-http-client-read-in-error.js", + // TODO(lev): ClientRequest.socket is not polyfilled so this test keeps + // failing + //"test-http-client-set-timeout.js", "test-http-localaddress.js", "test-http-outgoing-buffer.js", "test-http-outgoing-internal-headernames-getter.js", |