Skip to content

Commit 80914e8

Browse files
committed
update for coverage
1 parent b5e7428 commit 80914e8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ install:
3131
- npm install
3232
script:
3333
- npm run test:travis
34+
- npm run coveralls
3435
# Excluding build process as of now
3536
#- npm run build
36-
after_success: 'npm run coveralls'
37+
#after_success: 'npm run coveralls'

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"test": "export WEBPACK_ENV=dev; npm run test:jest",
2020
"test:travis:win32": "SET WEBPACK_ENV=dev & npm run test:jest",
2121
"test:travis": "export WEBPACK_ENV=dev; npm run test:jest",
22-
"coveralls": "cat ./coverage/*/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
22+
"coveralls": "jest --coverage && cat ./tests/coverage/lcov.info | coveralls",
2323
"prepare": "npm run build & npm run dev",
2424
"publish:npm": "npm publish --access public",
25-
"test:jest": "jest --coverage"
25+
"test:jest": "jest"
2626
},
2727
"jest": {
2828
"moduleFileExtensions": [

0 commit comments

Comments
 (0)