Fix level when supportsColor returns falsey (fixes #176, #175)

This commit is contained in:
Josh Junon 2017-07-30 19:52:59 -07:00 committed by Josh Junon
parent fbd17e7a69
commit 0827d3b632
2 changed files with 3 additions and 2 deletions

View file

@ -39,6 +39,6 @@ test('propagate enable/disable changes from child colors', t => {
m.level = oldLevel;
});
test.failing('disable colors if they are not supported', async t => {
test('disable colors if they are not supported', async t => {
t.is(await execa.stdout('node', [path.join(__dirname, '_fixture')]), 'test');
});