Update test.ts

This commit is contained in:
Sindre Sorhus 2017-07-02 14:52:52 +02:00 committed by GitHub
parent f18decbd7f
commit 26b6a2afb5

View file

@ -1,9 +1,12 @@
import * as chalk from '../.'; import * as chalk from '..';
chalk.underline('foo'); chalk.underline('foo');
chalk.red('foo'); chalk.red('foo');
chalk.bgRed('foo'); chalk.bgRed('foo');
const name = 'Josh';
chalk`Hello {bold.red ${name}}`;
chalk.red`foo`; chalk.red`foo`;
chalk.underline`foo`; chalk.underline`foo`;
chalk`foo`; chalk`foo`;