-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Stack traces missing for >= 2.2.1, regression? #1736
Comments
@twada: Oh, I didn’t see the The problem I had was something different though, and seems to be caused by my node project’s directory structure and not Mocha itself. Sorry! When I move my project root directly to
Before that, this last line got somehow lost … Guess node’s Could you please close this issue? Sorry for the confusion. |
No worries @j13z. This might help other people who didn't notice the new option either. :) |
For some reason more recent versions of Mocha do not display stack traces anymore in some cases.
The code snippet below stops working with all versions after 2.2.1 – the diff output is there but the stack trace is missing (2.2.1 shows both). Seems to be a regression.
Commenting out the
it
call gives me a stack trace again, but in this case it’s just a raw Node stack trace, without any test runner output (… chai/lib/chai/assertion.js:107 throw new AssertionError(msg, { …
).The text was updated successfully, but these errors were encountered: