Invert mocha diff colors?

For example, the default background color is green or red. I would like to have green / red as foreground and background as my default color (white).

Because it is very difficult to see anything on the color scheme of the light terminals as the foreground is black and the background changes to red or green.

+3


source to share


1 answer


The mocha source has a file called base.js in the reporters directory. There you can change colors as per bash color guide. http://misc.flogisoft.com/bash/tip_colors_and_formatting



+2


source







All Articles