Closed nfischer closed 7 years ago
@@ master #86 diff @@
==========================================
Files 2 2
Lines 28 28
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 25 25
Misses 3 3
Partials 0 0
Powered by Codecov. Last update 70642a2...b08a5d7
Hmmm... it appears this always exits with status 0, so don't merge this yet. I'll look into this and see if I can resolve the issue.
Ok, error codes should work properly now
LGTM!
Shx previously suffered from a race condition where it could exit the process before stdout is fully written (especially so for lots of output). Now process termination is deferred until all streams end.
Fixes #85
The real fix for this is all inside
cli.js
. Most of this PR is refactoring our test setup to be compatible with the change. This should not change the individual tests themselves, however.