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

Commit

Permalink
Use code cov
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan committed Nov 11, 2018
1 parent c37306e commit 8469f32
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Expand Up @@ -18,6 +18,7 @@ module.exports = {
},
setupTestFrameworkScriptFile: '<rootDir>/js/tests/setup.js',
verbose: true,
collectCoverage: true,
coverageReporters: ['lcov', 'json', 'html'],
coverageDirectory: '<rootDir>/js/tests/__coverage__',
coveragePathIgnorePatterns: ['/node_modules/', '/tests/', '/stubs/', '/libs/']
Expand Down
5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -39,7 +39,7 @@
"babel-register": "^6.23.0",
"babel-runtime": "^6.22.0",
"chalk": "^1.1.3",
"coveralls": "^3.0.2",
"codecov": "^3.1.0",
"cross-env": "^3.2.3",
"crypto-random-string": "^1.0.0",
"css-loader": "^0.28.7",
Expand Down Expand Up @@ -68,8 +68,7 @@
},
"scripts": {
"lint": "eslint js --ext=js,vue",
"test": "cross-env NODE_ENV=test && jest ./js/tests/",
"coveralls": "jest --coverage && cat ./js/tests/__coverage__/lcov.info | coveralls"
"test": "cross-env NODE_ENV=test && jest ./js/tests && codecov"
},
"repository": {
"type": "git",
Expand Down
23 changes: 22 additions & 1 deletion yarn.lock
Expand Up @@ -256,6 +256,11 @@ argparse@^1.0.7:
dependencies:
sprintf-js "~1.0.2"

argv@^0.0.2:
version "0.0.2"
resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab"
integrity sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas=

arr-diff@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf"
Expand Down Expand Up @@ -1875,6 +1880,17 @@ code-point-at@^1.0.0:
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=

codecov@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.1.0.tgz#340bd968d361f256976b5af782dd8ba9f82bc849"
integrity sha512-aWQc/rtHbcWEQLka6WmBAOpV58J2TwyXqlpAQGhQaSiEUoigTTUk6lLd2vB3kXkhnDyzyH74RXfmV4dq2txmdA==
dependencies:
argv "^0.0.2"
ignore-walk "^3.0.1"
js-yaml "^3.12.0"
request "^2.87.0"
urlgrey "^0.4.4"

collection-visit@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
Expand Down Expand Up @@ -7547,7 +7563,7 @@ request@2.81.0:
tunnel-agent "^0.6.0"
uuid "^3.0.0"

request@^2.85.0:
request@^2.85.0, request@^2.87.0:
version "2.88.0"
resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==
Expand Down Expand Up @@ -8971,6 +8987,11 @@ url@^0.11.0:
punycode "1.3.2"
querystring "0.2.0"

urlgrey@^0.4.4:
version "0.4.4"
resolved "https://registry.yarnpkg.com/urlgrey/-/urlgrey-0.4.4.tgz#892fe95960805e85519f1cd4389f2cb4cbb7652f"
integrity sha1-iS/pWWCAXoVRnxzUOJ8stMu3ZS8=

use@^3.1.0:
version "3.1.1"
resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f"
Expand Down

0 comments on commit 8469f32

Please sign in to comment.