mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01: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:
parent
fad952adbd
commit
f52fb0ac8f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user