mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
test: remove unused function argument from http test
Remove unused `res` from test-http-server-consumed-timeout. PR-URL: https://github.com/nodejs/node/pull/30677 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
89e2c71b27
commit
49458deb4f
1 file changed
+1
-1
@@ -31,7 +31,7 @@ server.listen(0, common.mustCall(() => {
|
||||
const req = http.request({
|
||||
port: server.address().port,
|
||||
method: 'POST'
|
||||
}, (res) => {
|
||||
}, () => {
|
||||
const interval = setInterval(() => {
|
||||
intervalWasInvoked = true;
|
||||
// If machine is busy enough that the interval takes more than TIMEOUT ms
|
||||
|
||||
Reference in new issue
Block a user