vechain / thor

A general purpose blockchain highly compatible with Ethereum's ecosystem
GNU Lesser General Public License v3.0
796 stars 247 forks source link

Test coverage api package [accounts, blocks, events, node, transactions, transfers] #681

Closed paologalligit closed 5 months ago

paologalligit commented 6 months ago

Description

Added more tests to reach 80% of test coverage on api packages:

Type of change

Checklist:

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 83.33333% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 59.16%. Comparing base (c9c4a51) to head (8af7c22). Report is 4 commits behind head on master.

:exclamation: Current head 8af7c22 differs from pull request most recent head d903f1f. Consider uploading reports for the commit d903f1f to get more accurate results

Files Patch % Lines
thor/bytes32.go 0.00% 2 Missing :warning:
chain/chain.go 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #681 +/- ## ========================================== + Coverage 57.27% 59.16% +1.88% ========================================== Files 156 156 Lines 17218 17218 ========================================== + Hits 9862 10187 +325 + Misses 6392 6076 -316 + Partials 964 955 -9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.