Skip to content

Commit

Permalink
fix: set env variable FORCE_COLOR. (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyfarrell authored and bcoe committed Dec 18, 2017
1 parent a710255 commit 7350e36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cliui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 7350e36

Please sign in to comment.