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.
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 withmocha-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 usemocha-better-spec-reporter
alone, everything works as expected.Information about the Issue
Corresponding
mocharc.json
options:Node 16.13+
mocha-multi-reporters@1.5.1
mocha-better-spec-reporter@3.1.0
mocha:@9.2.0
Project is using native ESM.