Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
robaca opened this issue Feb 17, 2022 · 0 comments
Open

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

robaca opened this issue Feb 17, 2022 · 0 comments

Comments

@robaca
Copy link

robaca commented Feb 17, 2022

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

  • Corresponding mocharc.json options:
    "reporter": "mocha-multi-reporters",
    "reporterOptions": "configFile=.mocharc.json",
    "reporterEnabled": "mocha-better-spec-reporter, mocha-reporter-sonarqube",
    "mochaReporterSonarqubeReporterOptions": {
        "filename": "./build/coverage/test-report.xml"
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant