2

We just started unit testing at work using Mocha and Karma. We have less than 100 tests, and having to sift through all the passed tests to find the failed ones is already cumbersome. I can't imagine what it'll be like when we have thousands of tests. Is there a way to make it so the passed tests don't show up?

Mark Amery
  • 143,130
  • 81
  • 406
  • 459
UhHuhOkSure
  • 147
  • 7

1 Answers1

2

You can change the test reporter, the dot reporter should be a more compact representation:

https://mochajs.org/#reporters

dm03514
  • 54,664
  • 18
  • 108
  • 145