Skip to content
Permalink
Browse files

Minor meta tweaks

  • Loading branch information...
sindresorhus committed Jun 30, 2017
1 parent 5ec90cb commit 8d26c1401cac1b1123e6b82f20f866e1d8756986
Showing with 5 additions and 5 deletions.
  1. +1 −1 package.json
  2. +4 −4 test.js
@@ -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": {
@@ -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');

0 comments on commit 8d26c14

Please sign in to comment.
You can’t perform that action at this time.