Skip to content

Commit a596a5d

Browse files
Trotttargos
authored andcommitted
test: remove unused function argument from http test
Remove unused `res` from test-http-server-consumed-timeout. PR-URL: #30677 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 92c6fa4 commit a596a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-http-server-consumed-timeout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ server.listen(0, common.mustCall(() => {
3131
const req = http.request({
3232
port: server.address().port,
3333
method: 'POST'
34-
}, (res) => {
34+
}, () => {
3535
const interval = setInterval(() => {
3636
intervalWasInvoked = true;
3737
// If machine is busy enough that the interval takes more than TIMEOUT ms

0 commit comments

Comments
 (0)