Currently I am testing a NodeJS app using jest. Particularly the system looks like this:
- NodeJS v13.4.0
- Jest 25.4.0
- winston@next 3.2.1
When I run tests, I like the log to be ordered. Especially at the first test and then dig into the logs. I know, that jest has the option --silent. Funnily this option does not apply to winston. The source code of winston looks like it is trying to directly write to stdout/err.
Does somebody know, how I can get winston to be silent while tests are running with the --silent option