The default jest output prints one file per line, and the cli options don’t appear to have options for it. I can use --silent
to prevent console.log
from within tests and --noStackTrace
to hide stack trace when a test fails, but nothing to hide or customize the bulk of the output.
I’d like to go from this:
PASS suite the/entire/path/to/file.test/js (long test time)
PASS otherSuite the/entire/path/to/otherFile.test/js (long test time)
Test Suites: 2 passed, 2 of 678 total
Tests: 6 skipped, 6 todo, 1027 passed, 1039 total
Snapshots: 0 total
Time: 11 s, estimated 23 s
To more like this. I know I had this style with Pytest.
...................................X...................
......X................................................
Test Suites: 108 passed, 110 of 678 total
Tests: 6 skipped, 6 todo, 1027 passed, 1039 total
Snapshots: 0 total
Time: 11 s, estimated 23 s
I don’t really care whether the floating panel with progress bar stays or goes. I’m open to some custom code, but would prefer something native to jest (as opposed to custom bash handler).