mocha-parallel / mocha-parallel-tests

Parallel test runner for mocha tests. Looking for maintainer.
MIT License
199 stars 45 forks source link

New lines being spit out to stdout/stderr when a worker exits #281

Closed kbkk closed 2 years ago

kbkk commented 4 years ago

https://github.com/mocha-parallel/mocha-parallel-tests/blob/ecc19625d1b47294debcde5d7b0870d9ddef8fb1/src/subprocess/options/exit.ts#L13

I am not sure why is this behavior needed. // that's what mocha does does not mean this lib has to do it as well. It creates a huge mess, for example I have a test suite of 30 files and when using --grep to filter tests I get a whole screen of new lines.

image

My proposal is to remove this behavior.

1999 commented 4 years ago

When you run grep with mocha do you see these empty lines as well?

kbkk commented 4 years ago

Nope