We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 846cba0 commit 91b6145Copy full SHA for 91b6145
test/pseudo-tty/test-assert-colors.js
@@ -5,6 +5,10 @@ const assert = require('assert').strict;
5
try {
6
// Activate colors even if the tty does not support colors.
7
process.env.COLORTERM = '1';
8
+ // Make sure TERM is not set to e.g., 'dumb' and NODE_DISABLE_COLORS is not
9
+ // active.
10
+ process.env.TERM = 'FOOBAR';
11
+ delete process.env.NODE_DISABLE_COLORS;
12
assert.deepStrictEqual([1, 2, 2, 2], [2, 2, 2, 2]);
13
} catch (err) {
14
const expected = 'Expected values to be strictly deep-equal:\n' +
0 commit comments