You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, when using the --listTests flag, no matter which other flags you use, the result is reported via console.log using JSON format. This makes difficult to use Jest output with other terminal tools, like grep, awk or for .. in.
I would suggest the following changes:
Return a joined \n list when --json is not passed.
Use process.stdout.write instead of console.log.
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Right now, when using the
--listTests
flag, no matter which other flags you use, the result is reported viaconsole.log
using JSON format. This makes difficult to use Jest output with other terminal tools, likegrep
,awk
orfor .. in
.I would suggest the following changes:
\n
list when--json
is not passed.process.stdout.write
instead ofconsole.log
.The text was updated successfully, but these errors were encountered: