I use node with mocha and winston. Is there a way to configure it to only display logs for failed tests?
If you run with the mini reporter, you will get the full result with unsuccessful tests: mocha -R min or, if you prefer the detailed version, mocha --reporter min .
mocha -R min
mocha --reporter min
Source: https://habr.com/ru/post/912625/More articles:Configure Xcode Build Settings Terminal - terminalHow to write Case Sensitive Query for MS Access? - ms-accessCreating a Trendline from an SQL Dataset - mathHow do you convert java.util.Collections.unmodifiableMap into an immutable Scala map? - scalaNHibernate: Custom Dialect - how to specify a class in a separate assembly - mysqlUITableView automatically scrolls after reloadData - iosInstall xcode "install setup" from terminal? - xcodeMySQL full-text search for confusion in boolean mode - phpC left shift by 64 bits - cHow to check regex using php - phpAll Articles