Change to capital case Instance

This commit is contained in:
Tom Sherman 2019-01-29 20:21:17 +00:00
parent cf981e6c44
commit bb16265e48
11 changed files with 52 additions and 58 deletions

View file

@ -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