Skip to content

test: cleanup test-child-process-stdio.js

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change
  • refactor vars to const and let

issue: nodejs/code-and-learn#56(comment)

modified file: test/parallel/test-child-process-stdio.js

refactor variable declaration "var common" to "const common" refactor variable declaration "var assert" to "const assert" refactor variable declaration "var options" to "let options" refactor variable declaration "var child" to "let child"

Merge request reports

Loading