test: refactor test-http-after-connect.js · nodejs/node@9c9d422 · GitHub
Skip to content

Commit 9c9d422

Browse files
larissayvetteMylesBorins
authored andcommitted
test: refactor test-http-after-connect.js
- Replace assert.equal() to assert.strictEqual() - Replace var with const where applicable - Removed firstBodyChunk which is never used - Remove the process.on('exit', ...) and replace its functionality by - Using common.mustCall() where applicable PR-URL: #10229 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 827bbe7 commit 9c9d422

1 file changed

Lines changed: 13 additions & 23 deletions

File tree

Lines changed: 13 additions & 23 deletions

0 commit comments

Comments
 (0)