-
-
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
Colors not working correctly #2071
Comments
@boneskull It may be worth reverting/removing chalk? Here's another comment mentioning this issue: 1192914#commitcomment-15689799 However, I've been unable to reproduce the issue so far. |
Just removing the String |
I suppose that's ideal, since using Chalk helped close issues regarding mocha's color output :) |
A PR would be appreciated! |
Fix #2071: Removed color code to fix Chalk colors
In version 2.3.4 the colors were working fine. The commit that added in Chalk doesn't work.
Mocha 2.3.4:
Mocha 2.4.1:
Removing the String
'\u001b[' +
from thereturn '\u001b[' + exports.colors[type] + 'm' + str + '\u001b[0m';
, the output shows fine as seen here:Using cmder with powershell on Windows 10
Currently works fine as well on Linux and removing the code also works fine.
The text was updated successfully, but these errors were encountered: