Skip to content

Commit de9b2fa

Browse files
committed
best to use gitignore
1 parent 7dc59d5 commit de9b2fa

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.DS_Store
22
npm-debug.log
33
node_modules
4+
test/lcov.info
5+
test/coverage.html

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ node_js:
77
script: npm test
88

99
after_script:
10-
- mkdir test/report
1110
- npm run coverage
1211
- npm run codeclimate

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"bin": "./bin/httpsnippet",
77
"scripts": {
88
"test": "mocha --recursive --reporter spec",
9-
"coverage": "mocha -r blanket -R mocha-lcov-reporter > test/report/lcov.info",
10-
"html-cov": "mocha -r blanket -R html-cov > test/report/coverage.html",
11-
"codeclimate": "codeclimate < test/report/lcov.info"
9+
"coverage": "mocha -r blanket -R mocha-lcov-reporter > test/lcov.info",
10+
"html-cov": "mocha -r blanket -R html-cov > test/coverage.html",
11+
"codeclimate": "codeclimate < test/lcov.info"
1212
},
1313
"config":{
1414
"blanket": {

0 commit comments

Comments
 (0)