desmos-labs / desmos

Improving the well-being of users on social networks through the blockchain technology.
https://desmos.network
Apache License 2.0
104 stars 46 forks source link

refactor(tests): improve x/reports tests using gomock #1184

Closed dadamu closed 1 year ago

dadamu commented 1 year ago

Description

This PR improves the x/reports tests using gomock.


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.

I have...

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.

I have...

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (61393a0) 80.79% compared to head (59bc4f3) 80.80%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1184 +/- ## ======================================= Coverage 80.79% 80.80% ======================================= Files 194 194 Lines 17310 17310 ======================================= + Hits 13986 13987 +1 Misses 2727 2727 + Partials 597 596 -1 ``` | [Impacted Files](https://app.codecov.io/gh/desmos-labs/desmos/pull/1184?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=desmos-labs) | Coverage Δ | | |---|---|---| | [x/reports/keeper/external\_hooks.go](https://app.codecov.io/gh/desmos-labs/desmos/pull/1184?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=desmos-labs#diff-eC9yZXBvcnRzL2tlZXBlci9leHRlcm5hbF9ob29rcy5nbw==) | `68.88% <100.00%> (+2.22%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.