Skip to content
Permalink
Browse files

test: remove unused function argument from http test

Remove unused `res` from test-http-server-consumed-timeout.

PR-URL: #30677
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and MylesBorins committed Nov 26, 2019
1 parent 43cec65 commit d3785941a978530e4f83efda2983d77c12406c79
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/sequential/test-http-server-consumed-timeout.js
@@ -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

0 comments on commit d378594

Please sign in to comment.
You can’t perform that action at this time.