Skip to content

test: refactor test-http-dns-fail

Rodrigo Muino Tomonari requested to merge github/fork/edsadr/test-dns-fail into master
Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

refactor test-http-dns-fail.js

  • 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

Merge request reports

Loading