stanleyhlng / mocha-multi-reporters

Generate multiple mocha reports in a single mocha execution.
MIT License
74 stars 22 forks source link

Logging stops after first error with `mocha-better-spec-reporter` #98

Open robaca opened 2 years ago

robaca commented 2 years ago

Expected behavior

We are using the mocha-multi-reporters plugin in combination with mocha-better-spec-reporter. When having multiple errors, we expect that all error details of all errors are logged as with mocha-better-spec-reporter alone.

Actual behavior

If we encounter multiple errors, report output stops after all tests have been executed and the first error details have been printed to the console. If we replace the mocha-better-spec-reporter with spec or just use mocha-better-spec-reporter alone, everything works as expected.

Information about the Issue