Skip to content

test: refactor test-http-after-connect.js

Affected core subsystem(s)

test

Description of change
  • 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

Merge request reports

Loading