Commit 75ac1099 authored by Adrian Estrada's avatar Adrian Estrada Committed by Italo A. Casas
Browse files

test: refactor test-http-dns-fail

* remove counter used to control function execution
* use commont.mustCall to control the function execution
* use const and let instead of var
* use arrow functions

PR-URL: https://github.com/nodejs/node/pull/10243


Reviewed-By: default avatarItalo A. Casas <me@italoacasas.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarLance Ball <lball@redhat.com>
Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
parent e432c2bf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment