ci: switch to nyc.

This commit is contained in:
Nodar Chkuaselidze 2019-05-19 20:30:50 +04:00
parent fc283caf80
commit 2a0a8ad45e
No known key found for this signature in database
GPG Key ID: 8E1B4DC29040BD90
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ jobs:
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm install
- run: npm install eslint babel-eslint istanbul@1.1.0-alpha.1 codecov
- run: npm install eslint babel-eslint nyc codecov
- save_cache:
paths:
- node_modules

View File

@ -74,7 +74,7 @@
"test-browser": "NODE_BACKEND=js bmocha --reporter spec test/*.js",
"test-file": "bmocha --reporter spec",
"test-file-browser": "NODE_BACKEND=js bmocha --reporter spec",
"test-ci": "istanbul cover --report lcovonly node_modules/.bin/bmocha -- --reporter spec test/*-test.js"
"test-ci": "nyc -a -n 'lib/**/*.js' --reporter=lcov --reporter=text npm run test"
},
"browser": {
"./lib/hd/nfkd": "./lib/hd/nfkd-compat.js",