Update dependencies

This commit is contained in:
Sindre Sorhus 2019-07-12 13:59:50 +07:00
parent 655653bb0c
commit c25c32a25f
7 changed files with 56 additions and 30 deletions

View file

@ -101,3 +101,7 @@ test('don\'t emit RGB codes if level is 0', t => {
t.is(new chalk.Instance({level: 0}).hex('#FF0000')('hello'), 'hello');
t.is(new chalk.Instance({level: 0}).bgHex('#FF0000')('hello'), 'hello');
});
test('supports blackBright color', t => {
t.is(chalk.blackBright('foo'), '\u001B[90mfoo\u001B[39m');
});

View file

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