test: deflake test-http-remove-header-stays-removed · nodejs/node@fb8470a · GitHub
Skip to content

Commit fb8470a

Browse files
lpincatargos
authored andcommitted
test: deflake test-http-remove-header-stays-removed
Instead of relying on a timer, verify that `socket.end()` is called when the `'finish'` event is emitted on the `ServerResponse` object. PR-URL: #55004 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
1 parent ee0a98b commit fb8470a

1 file changed

Lines changed: 16 additions & 17 deletions

File tree

test/parallel/test-http-remove-header-stays-removed.js

Lines changed: 16 additions & 17 deletions

0 commit comments

Comments
 (0)