Remove MOCHA_COLORS environment variable #3641
Labels
area: usability
concerning user experience or interface
good first issue
new contributors should look here!
type: cleanup
a refactor
Description
This environment variable was introduced in Sep 2013 by #965.
Later, we updated to use supports-color module for color support in Feb 2015 by #1545.
This module later gained its own pseudo-standard environment variable
FORCE_COLOR
which provides the same function in Jan 2017.As
MOCHA_COLORS
provides redundant functionality, it should be removed.Additional Information
lib/reporters/base.js
would become
The text was updated successfully, but these errors were encountered: