Skip to content

test: refactor stdio handling in test-esm-cjs-main

Rodrigo Muino Tomonari requested to merge github/fork/richardlau/testio into master

Set encoding on the stderr/stdout streams instead of calling data.toString(). Don't assume the complete expected messages arrive in a single event.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading