Remove chalk.styles

Very few consumers use this. Those who need it can just use the `ansi-styles` package directly.
This commit is contained in:
Sindre Sorhus 2017-06-20 21:37:29 +02:00
parent 0412cdf07b
commit 870249689a
3 changed files with 0 additions and 22 deletions

View file

@ -187,9 +187,3 @@ describe('chalk.constructor', () => {
assert.equal(chalk.red('foo'), '\u001B[31mfoo\u001B[39m');
});
});
describe('chalk.styles', () => {
it('should expose the styles as ANSI escape codes', () => {
assert.equal(chalk.styles.red.open, '\u001B[31m');
});
});