Skip to content

Commit 7350e36

Browse files
coreyfarrellbcoe
authored andcommittedDec 18, 2017
fix: set env variable FORCE_COLOR. (#56)
1 parent a710255 commit 7350e36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎test/cliui.js

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
require('chai').should()
44

5+
// Force chalk to enable color, if it's disabled the test fails.
6+
process.env['FORCE_COLOR'] = 1
7+
58
var chalk = require('chalk')
69
var cliui = require('../')
710
var stripAnsi = require('strip-ansi')

0 commit comments

Comments
 (0)
Please sign in to comment.