Change to capital case Instance
This commit is contained in:
parent
cf981e6c44
commit
bb16265e48
11 changed files with 52 additions and 58 deletions
|
|
@ -7,7 +7,7 @@ test('Chalk.constructor should throw an expected error', t => {
|
|||
chalk.constructor();
|
||||
});
|
||||
|
||||
t.is(expectedError.message, 'Chalk.constructor() is deprecated. Use new Chalk.instance() instead.');
|
||||
t.is(expectedError.message, 'Chalk.constructor() is deprecated. Use new Chalk.Instance() instead.');
|
||||
|
||||
t.throws(() => {
|
||||
new chalk.constructor(); // eslint-disable-line no-new
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue