Skip to content
This repository has been archived by the owner on Oct 21, 2019. It is now read-only.

Commit

Permalink
test: replace istanbul with nyc (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh authored and yoshinorin committed Jul 27, 2019
1 parent 94c4d60 commit 5cda95e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -3,4 +3,4 @@ node_modules/
tmp/
*.log
.idea/
coverage/
.nyc_output/
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -18,4 +18,4 @@ script:

after_script:
- npm install coveralls
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- nyc report --reporter=text-lcov | coveralls
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"eslint": "eslint .",
"test": "mocha test/index.js",
"test-cov": "istanbul cover --print both _mocha -- test/index.js"
"test-cov": "nyc npm run test"
},
"directories": {
"lib": "./lib"
Expand Down Expand Up @@ -35,8 +35,8 @@
"chai": "^4.2.0",
"eslint": "^5.9.0",
"eslint-config-hexo": "^3.0.0",
"istanbul": "^0.4.2",
"mocha": "^6.0.1",
"nyc": "^14.1.1",
"babel-eslint": "^10.0.1"
},
"engines": {
Expand Down

0 comments on commit 5cda95e

Please sign in to comment.