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:
parent
0412cdf07b
commit
870249689a
3 changed files with 0 additions and 22 deletions
6
test.js
6
test.js
|
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue