diff --git a/test/cliui.js b/test/cliui.js index fd27f5a..76ae366 100644 --- a/test/cliui.js +++ b/test/cliui.js @@ -2,6 +2,9 @@ require('chai').should() +// Force chalk to enable color, if it's disabled the test fails. +process.env['FORCE_COLOR'] = 1 + var chalk = require('chalk') var cliui = require('../') var stripAnsi = require('strip-ansi')