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
I don't know the exact criteria off the top of my head, but there are heuristics such as is-a-tty that Mocha (and most colored commandline programs) use to tell when it's safe to provide color by default; in some cases those end up ambiguous or just incorrect and the program has to play it safe. Without looking into it more deeply I couldn't tell you for sure whether that's happening here, or whether there's a bug in git-bash, or in Mocha.
However! What I can say right now is that Mocha has a --colors option (or maybe it's --color; try both and see which one works) to override that and try to use color anyway.
bash.exe
Apparently colors work right:
git-bash.exe
Doesn't colorize output:
Why is it happening? How to fix it? I use
git-bash.exe
in my work, so it wold be great if you explain how to fix the issue.The text was updated successfully, but these errors were encountered: