Add tests
This commit is contained in:
parent
08f9e5f3e3
commit
6768476575
7 changed files with 82 additions and 67 deletions
|
|
@ -16,8 +16,8 @@ expectType<boolean>(chalk.supportsColor.has256);
|
|||
expectType<boolean>(chalk.supportsColor.has16m);
|
||||
|
||||
// - Chalk -
|
||||
// -- Constructor --
|
||||
expectType<Chalk>(new chalk.constructor({level: 1}));
|
||||
// -- Instance --
|
||||
expectType<Chalk>(new chalk.instance({level: 1}));
|
||||
|
||||
// -- Properties --
|
||||
expectType<boolean>(chalk.enabled);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue