add color as mocha option (#42685)

This commit is contained in:
Benjamin Pasero
2020-03-03 10:49:46 -08:00
committed by GitHub
parent 58bda1626f
commit 02f205529e
+8 -1
View File
@@ -2261,9 +2261,16 @@ declare namespace Mocha {
/** Enable growl support. */
growl?: boolean;
/** Emit color output. */
/**
* Emit color output.
*
* @deprecated use `color` instead.
*/
useColors?: boolean;
/** Color TTY output from reporter */
color?: boolean;
/** Use inline diffs rather than +/-. */
inlineDiffs?: boolean;