Skip to content

Commit e910f82

Browse files
SamVerschuerensindresorhus
authored andcommittedApr 27, 2017
Fix tests (#15)
1 parent a731af5 commit e910f82

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
 

‎.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: node_js
22
node_js:
3+
- '6'
34
- '4'
4-
- 'node'
5+
- '0.12'
6+
- '0.10'
57
after_success: npm run coveralls

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
"strip-ansi": "^3.0.1"
5858
},
5959
"devDependencies": {
60-
"ava": "^0.16.0",
60+
"ava": "^0.17.0",
6161
"chalk": "^1.1.0",
6262
"coveralls": "^2.11.4",
6363
"has-ansi": "^2.0.0",
6464
"nyc": "^6.2.1",
6565
"strip-ansi": "^3.0.0",
66-
"xo": "*"
66+
"xo": "^0.16.0"
6767
}
6868
}

‎test.js

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import hasAnsi from 'has-ansi';
44
import stripAnsi from 'strip-ansi';
55
import fn from './';
66

7+
chalk.enabled = true;
8+
79
// when "hard" is false
810

911
const fixture = 'The quick brown ' + chalk.red('fox jumped over ') + 'the lazy ' + chalk.green('dog and then ran away with the unicorn.');

0 commit comments

Comments
 (0)
Please sign in to comment.