Skip to content

Commit c4083a9

Browse files
committed
Fixed coverall issue.
1 parent 8e36342 commit c4083a9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed
File renamed without changes.

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ cache:
77
install:
88
- npm install
99
script:
10-
- npm run test-coverage
10+
- npm run test-coverage
11+
after_success:
12+
- npm run coverage

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
},
3030
"scripts": {
3131
"test": "jest",
32-
"test-coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls",
32+
"test-coverage": "jest --coverage",
33+
"coverage": "coveralls < coverage/lcov.info",
3334
"dev": "webpack --mode development --watch",
3435
"prod": "webpack -p --mode production"
3536
},

0 commit comments

Comments
 (0)