From 4ae311c52affbebfae020a337254db2de5958150 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus <4322632+EVINADAPCIPvb@users.noreply.github.com> Date: Fri, 30 Jun 2017 17:19:57 +0200 Subject: [PATCH] Minor meta tweaks --- package.json | 2 +- test.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e1b51ab..ac1f9b2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "chalk", "version": "2.0.1", - "description": "Terminal string styling done right. Much color", + "description": "Terminal string styling done right", "license": "MIT", "repository": "chalk/chalk", "engines": { diff --git a/test.js b/test.js index 325950b..47cbf15 100644 --- a/test.js +++ b/test.js @@ -15,8 +15,8 @@ require.cache[resolveFrom(__dirname, 'supports-color')] = { const chalk = require('.'); -console.log('host TERM=', process.env.TERM || '[none]'); -console.log('host platform=', process.platform || '[unknown]'); +console.log('TERM:', process.env.TERM || '[none]'); +console.log('platform:', process.platform || '[unknown]'); describe('chalk', () => { it('should not add any styling when called as the base function', () => { @@ -111,7 +111,7 @@ describe('chalk', () => { }); }); -describe('chalk on windows', () => { +describe('chalk on Windows', () => { let originalEnv; let originalPlatform; @@ -235,7 +235,7 @@ describe('chalk.enabled', () => { }); }); -describe('chalk.constructor', () => { +describe('chalk.constructor()', () => { it('should create an isolated context where colors can be disabled (by level)', () => { const ctx = new chalk.constructor({level: 0, enabled: true}); assert.equal(ctx.red('foo'), 'foo');