Skip to content

Commit

Permalink
Minor meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 30, 2017
1 parent 5ec90cb commit 8d26c14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 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": {
Expand Down
8 changes: 4 additions & 4 deletions test.js
Expand Up @@ -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', () => {
Expand Down Expand Up @@ -111,7 +111,7 @@ describe('chalk', () => {
});
});

describe('chalk on windows', () => {
describe('chalk on Windows', () => {
let originalEnv;
let originalPlatform;

Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 8d26c14

Please sign in to comment.