Skip to content

Commit

Permalink
fixup: add another test
Browse files Browse the repository at this point in the history
  • Loading branch information
BridgeAR committed Jan 25, 2020
1 parent 6a285f3 commit fe7bdc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/pseudo-tty/test-tty-color-support-warning-2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

require('../common');

process.env.NODE_DISABLE_COLORS = '1';
process.env.FORCE_COLOR = '3';

console.log();
2 changes: 2 additions & 0 deletions test/pseudo-tty/test-tty-color-support-warning-2.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

(node:*) Warning: The 'NODE_DISABLE_COLORS' env is ignored due to the 'FORCE_COLOR' env being set.

0 comments on commit fe7bdc0

Please sign in to comment.