Update dependencies
This commit is contained in:
parent
61aca7cb76
commit
1953816afd
3 changed files with 13 additions and 7 deletions
|
|
@ -73,7 +73,7 @@ test('don\'t output escape codes if the input is empty', t => {
|
|||
});
|
||||
|
||||
test('keep Function.prototype methods', t => {
|
||||
t.is(chalk.grey.apply(null, ['foo']), '\u001B[90mfoo\u001B[39m');
|
||||
t.is(Reflect.apply(chalk.grey, null, ['foo']), '\u001B[90mfoo\u001B[39m');
|
||||
t.is(chalk.reset(chalk.red.bgGreen.underline.bind(null)('foo') + 'foo'), '\u001B[0m\u001B[31m\u001B[42m\u001B[4mfoo\u001B[24m\u001B[49m\u001B[39mfoo\u001B[0m');
|
||||
t.is(chalk.red.blue.black.call(null), '');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue