You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.
Based on the behavior I'm seeing, unless this is a bug in a newer version of mocha or in nodejs-repo-tools, any tests using mocha + stubConsole are not able to output a full report such as:
Unit Tests
should fail
error: invalid Pub/Sub message format
✓ on a Bad Request with an empty payload
error: invalid Pub/Sub message format
✓ on a Bad Request with an invalid payload
error: invalid Pub/Sub message format
✓ on a Bad Request with an invalid mimetype
the it() output is swallowed.
The text was updated successfully, but these errors were encountered:
I'm retrofitting some tests to use ava + sinon to mocha + nodejs-repo-tools.
For tests where I'm using stubConsole, the mocha reporter fails to print output to the terminal.
Environment details
Steps to reproduce
mocha test/*.test.js
It looks like mocha itself has some code in an attempt to avoid this kind of problem but it's not helping.
Based on the behavior I'm seeing, unless this is a bug in a newer version of mocha or in nodejs-repo-tools, any tests using mocha + stubConsole are not able to output a full report such as:
the
it()
output is swallowed.The text was updated successfully, but these errors were encountered: