diff --git a/badges.svg b/badges.svg index 608b357..b5ff2bf 100644 --- a/badges.svg +++ b/badges.svg @@ -1,20 +1,20 @@ -<svg width="114.3" height="20" viewBox="0 0 1143 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="coverage: 94.28%"> - <title>coverage: 94.28%</title> - <linearGradient id="ErUjY" x2="0" y2="100%"> +<svg width="114.3" height="20" viewBox="0 0 1143 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="coverage: 95.95%"> + <title>coverage: 95.95%</title> + <linearGradient id="Szqtp" x2="0" y2="100%"> <stop offset="0" stop-opacity=".1" stop-color="#EEE"/> <stop offset="1" stop-opacity=".1"/> </linearGradient> - <mask id="DGBGt"><rect width="1143" height="200" rx="30" fill="#FFF"/></mask> - <g mask="url(#DGBGt)"> + <mask id="bSzVn"><rect width="1143" height="200" rx="30" fill="#FFF"/></mask> + <g mask="url(#bSzVn)"> <rect width="603" height="200" fill="#555"/> <rect width="540" height="200" fill="#97c40f" x="603"/> - <rect width="1143" height="200" fill="url(#ErUjY)"/> + <rect width="1143" height="200" fill="url(#Szqtp)"/> </g> <g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110"> <text x="60" y="148" textLength="503" fill="#000" opacity="0.25">coverage</text> <text x="50" y="138" textLength="503">coverage</text> - <text x="658" y="148" textLength="440" fill="#000" opacity="0.25">94.28%</text> - <text x="648" y="138" textLength="440">94.28%</text> + <text x="658" y="148" textLength="440" fill="#000" opacity="0.25">95.95%</text> + <text x="648" y="138" textLength="440">95.95%</text> </g> </svg> \ No newline at end of file diff --git a/coverage-summary.json b/coverage-summary.json index cda3aad..be09b2e 100644 --- a/coverage-summary.json +++ b/coverage-summary.json @@ -1,7 +1,7 @@ -{"total": {"lines":{"total":963,"covered":908,"skipped":0,"pct":94.28},"statements":{"total":976,"covered":918,"skipped":0,"pct":94.05},"functions":{"total":165,"covered":159,"skipped":0,"pct":96.36},"branches":{"total":393,"covered":342,"skipped":0,"pct":87.02},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}} +{"total": {"lines":{"total":964,"covered":925,"skipped":0,"pct":95.95},"statements":{"total":977,"covered":936,"skipped":0,"pct":95.8},"functions":{"total":165,"covered":161,"skipped":0,"pct":97.57},"branches":{"total":393,"covered":349,"skipped":0,"pct":88.8},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}} ,"/home/runner/work/aelf-command/aelf-command/src/index.js": {"lines":{"total":44,"covered":42,"skipped":0,"pct":95.45},"functions":{"total":7,"covered":7,"skipped":0,"pct":100},"statements":{"total":44,"covered":42,"skipped":0,"pct":95.45},"branches":{"total":14,"covered":14,"skipped":0,"pct":100}} ,"/home/runner/work/aelf-command/aelf-command/src/command/baseSubCommand.js": {"lines":{"total":77,"covered":77,"skipped":0,"pct":100},"functions":{"total":22,"covered":22,"skipped":0,"pct":100},"statements":{"total":80,"covered":80,"skipped":0,"pct":100},"branches":{"total":32,"covered":32,"skipped":0,"pct":100}} -,"/home/runner/work/aelf-command/aelf-command/src/command/call.js": {"lines":{"total":51,"covered":45,"skipped":0,"pct":88.23},"functions":{"total":6,"covered":5,"skipped":0,"pct":83.33},"statements":{"total":52,"covered":45,"skipped":0,"pct":86.53},"branches":{"total":28,"covered":21,"skipped":0,"pct":75}} +,"/home/runner/work/aelf-command/aelf-command/src/command/call.js": {"lines":{"total":51,"covered":50,"skipped":0,"pct":98.03},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":52,"covered":51,"skipped":0,"pct":98.07},"branches":{"total":28,"covered":24,"skipped":0,"pct":85.71}} ,"/home/runner/work/aelf-command/aelf-command/src/command/config.js": {"lines":{"total":33,"covered":31,"skipped":0,"pct":93.93},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":33,"covered":31,"skipped":0,"pct":93.93},"branches":{"total":12,"covered":12,"skipped":0,"pct":100}} ,"/home/runner/work/aelf-command/aelf-command/src/command/console.js": {"lines":{"total":16,"covered":16,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":16,"covered":16,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}} ,"/home/runner/work/aelf-command/aelf-command/src/command/create.js": {"lines":{"total":20,"covered":20,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":20,"covered":20,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}} @@ -27,7 +27,7 @@ ,"/home/runner/work/aelf-command/aelf-command/src/utils/fs.js": {"lines":{"total":18,"covered":15,"skipped":0,"pct":83.33},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":19,"covered":16,"skipped":0,"pct":84.21},"branches":{"total":10,"covered":8,"skipped":0,"pct":80}} ,"/home/runner/work/aelf-command/aelf-command/src/utils/myLogger.js": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} ,"/home/runner/work/aelf-command/aelf-command/src/utils/userHomeDir.js": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}} -,"/home/runner/work/aelf-command/aelf-command/src/utils/utils.js": {"lines":{"total":185,"covered":148,"skipped":0,"pct":80},"functions":{"total":33,"covered":29,"skipped":0,"pct":87.87},"statements":{"total":187,"covered":149,"skipped":0,"pct":79.67},"branches":{"total":106,"covered":78,"skipped":0,"pct":73.58}} +,"/home/runner/work/aelf-command/aelf-command/src/utils/utils.js": {"lines":{"total":185,"covered":159,"skipped":0,"pct":85.94},"functions":{"total":33,"covered":30,"skipped":0,"pct":90.9},"statements":{"total":187,"covered":160,"skipped":0,"pct":85.56},"branches":{"total":106,"covered":82,"skipped":0,"pct":77.35}} ,"/home/runner/work/aelf-command/aelf-command/src/utils/wallet.js": {"lines":{"total":19,"covered":19,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":19,"covered":19,"skipped":0,"pct":100},"branches":{"total":11,"covered":11,"skipped":0,"pct":100}} -,"/home/runner/work/aelf-command/aelf-command/test/constants.js": {"lines":{"total":4,"covered":4,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":4,"covered":4,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} +,"/home/runner/work/aelf-command/aelf-command/test/constants.js": {"lines":{"total":5,"covered":5,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":5,"covered":5,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} }