From d62412af6ad51ee5f1d15dd6d9ecf10eaa48125d Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 18 Sep 2018 15:45:45 +0700 Subject: [PATCH] Update no-color-support.js --- test/no-color-support.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/no-color-support.js b/test/no-color-support.js index 5e30617..90d934d 100644 --- a/test/no-color-support.js +++ b/test/no-color-support.js @@ -8,9 +8,9 @@ require('./_supports-color')(__dirname, { has16m: false }); -const m = require('..'); +const chalk = require('..'); -test.failing('can be forced on using chalk.enabled', t => { - m.enabled = true; - t.is(m.green('hello'), '\u001B[32mhello\u001B[39m'); +test.failing('colors can be forced by using chalk.enabled', t => { + chalk.enabled = true; + t.is(chalk.green('hello'), '\u001B[32mhello\u001B[39m'); });