test: make .out checks embedder-friendly
Some of the color support tests in pseudo-tty
and some esm tests in message
were hardcoded to check the output messages against node
- this causes failures in Electron's smoke tests against Node.js, since they'll output e.g:
(Use `electron --trace-warnings ...` to show where the warning was created)
in our case.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines