hashgraph / hedera-mirror-node

Hedera Mirror Node archives data from consensus nodes and serves it via an API
Apache License 2.0
147 stars 112 forks source link

Enhance negative web3 tests to check for expected error messages #9340

Closed nickeynikolovv closed 2 months ago

nickeynikolovv commented 2 months ago

Description: This PR adds checks for error messages that are expected to be received when an exception is thrown

Related issue(s):

Fixes #9135

Checklist

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.61%. Comparing base (b482b35) to head (a8502bf). Report is 10 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #9340 +/- ## ============================================ + Coverage 89.41% 92.61% +3.20% - Complexity 1092 6908 +5816 ============================================ Files 362 885 +523 Lines 11268 29390 +18122 Branches 1632 3717 +2085 ============================================ + Hits 10075 27221 +17146 - Misses 1063 1404 +341 - Partials 130 765 +635 ```

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

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud