Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
chore: running tests with --coverage flag
- Loading branch information
Showing
with
3 additions
and
6 deletions.
-
+3
−3
.travis.yml
-
+0
−3
package.json
|
@@ -7,7 +7,7 @@ node_js: |
|
|
cache: |
|
|
yarn: true |
|
|
directories: |
|
|
- node_modules |
|
|
script: |
|
|
- yarn test && yarn flow |
|
|
- node_modules |
|
|
script: |
|
|
- yarn test --coverage && yarn flow |
|
|
- yarn typescript |
|
@@ -55,9 +55,6 @@ |
|
|
"*.{js,json,md}": ["prettier --write", "git add"] |
|
|
}, |
|
|
"jest": { |
|
|
"collectCoverage": true, |
|
|
"coverageDirectory": "coverage", |
|
|
"collectCoverageFrom": ["src/**/*.js"], |
|
|
"coverageThreshold": { |
|
|
"global": { |
|
|
"lines": 82, |
|
|